From c251a93609704f488eb62af4051ee02bbbad4760 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 6 Dec 2024 11:23:15 -0800 Subject: [PATCH] fix --test to automatically fix errors --- aider/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/main.py b/aider/main.py index 130f07671..b5a8fa1eb 100644 --- a/aider/main.py +++ b/aider/main.py @@ -853,9 +853,9 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F io.tool_error("No --test-cmd provided.") analytics.event("exit", reason="No test command provided") return 1 - test_errors = coder.commands.cmd_test(args.test_cmd) - if test_errors: - coder.run(test_errors) + coder.commands.cmd_test(args.test_cmd) + if io.placeholder: + coder.run(io.placeholder) if args.commit: if args.dry_run: