mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
Use the test_cmd by default
This commit is contained in:
parent
61ac9b7991
commit
210679f020
1 changed files with 2 additions and 0 deletions
|
@ -534,6 +534,8 @@ class Commands:
|
||||||
|
|
||||||
def cmd_test(self, args):
|
def cmd_test(self, args):
|
||||||
"Run a shell command and add the output to the chat on non-zero exit code"
|
"Run a shell command and add the output to the chat on non-zero exit code"
|
||||||
|
if not args and self.coder.test_cmd:
|
||||||
|
args = self.coder.test_cmd
|
||||||
|
|
||||||
return self.cmd_run(args, True)
|
return self.cmd_run(args, True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue