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: