fix: Fix #3987 Pass the coder object to repo.commit

This commit is contained in:
wangboxue 2025-05-12 11:50:56 +08:00
parent 57020a2d5e
commit bdd67eb229

View file

@ -346,7 +346,7 @@ class Commands:
return return
commit_message = args.strip() if args else None commit_message = args.strip() if args else None
self.coder.repo.commit(message=commit_message) self.coder.repo.commit(message=commit_message, coder=self.coder)
def cmd_lint(self, args="", fnames=None): def cmd_lint(self, args="", fnames=None):
"Lint and fix in-chat files or all dirty files if none in chat" "Lint and fix in-chat files or all dirty files if none in chat"