mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
Restore proper default to io.yes #585
This commit is contained in:
parent
3e5f0d0c75
commit
4482c24d34
1 changed files with 4 additions and 1 deletions
|
@ -219,9 +219,12 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
args.assistant_output_color = "blue"
|
args.assistant_output_color = "blue"
|
||||||
args.code_theme = "default"
|
args.code_theme = "default"
|
||||||
|
|
||||||
|
if return_coder:
|
||||||
|
args.yes = True
|
||||||
|
|
||||||
io = InputOutput(
|
io = InputOutput(
|
||||||
args.pretty,
|
args.pretty,
|
||||||
args.yes or return_coder, # Force --yes if return_coder
|
args.yes,
|
||||||
args.input_history_file,
|
args.input_history_file,
|
||||||
args.chat_history_file,
|
args.chat_history_file,
|
||||||
input=input,
|
input=input,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue