mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
fix: Move run_shell_commands() call after auto_lint and auto_test checks
This commit is contained in:
parent
e6ee7ac370
commit
61f7d60c47
1 changed files with 2 additions and 2 deletions
|
@ -1096,8 +1096,6 @@ class Coder:
|
|||
if self.reflected_message:
|
||||
return
|
||||
|
||||
self.run_shell_commands()
|
||||
|
||||
if edited and self.auto_lint:
|
||||
lint_errors = self.lint_edited(edited)
|
||||
self.auto_commit(edited, context="Ran the linter")
|
||||
|
@ -1109,6 +1107,8 @@ class Coder:
|
|||
self.update_cur_messages()
|
||||
return
|
||||
|
||||
self.run_shell_commands()
|
||||
|
||||
if edited and self.auto_test:
|
||||
test_errors = self.commands.cmd_test(self.test_cmd)
|
||||
self.test_outcome = not test_errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue