Skip to content

Commit c3663ff

Browse files
committed
#151: /quit calls the code of the /exit command which is now async
1 parent 866f4b2 commit c3663ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aider/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,9 +1257,9 @@ async def cmd_exit(self, args):
12571257
except Exception:
12581258
sys.exit()
12591259

1260-
def cmd_quit(self, args):
1260+
async def cmd_quit(self, args):
12611261
"Exit the application"
1262-
self.cmd_exit(args)
1262+
await self.cmd_exit(args)
12631263

12641264
def cmd_context_management(self, args=""):
12651265
"Toggle context management for large files"

0 commit comments

Comments
 (0)