mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Update cmd_commit method signature to accept an optional args parameter.
This commit is contained in:
parent
311ae04314
commit
231fa46125
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class Commands:
|
|||
# any method called cmd_xxx becomes a command automatically.
|
||||
# each one must take an args param.
|
||||
|
||||
def cmd_commit(self, args):
|
||||
def cmd_commit(self, args=None):
|
||||
"Commit edits to the repo made outside the chat (commit message optional)"
|
||||
|
||||
if not self.coder.repo:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue