mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
fix: Improve confirm dialog messages
This commit is contained in:
parent
72ebc7868a
commit
ba746dd211
5 changed files with 14 additions and 20 deletions
|
@ -281,10 +281,8 @@ def check_pip_install_extra(io, module, prompt, pip_install_cmd):
|
|||
|
||||
cmd = get_pip_install(pip_install_cmd)
|
||||
|
||||
text = f"{prompt}:\n\n{' '.join(cmd)}\n"
|
||||
io.tool_error(text)
|
||||
|
||||
if not io.confirm_ask("Run pip install?", default="y"):
|
||||
io.tool_error(prompt)
|
||||
if not io.confirm_ask("Run pip install?", default="y", subject=' '.join(cmd)):
|
||||
return
|
||||
|
||||
success, output = run_install(cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue