mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 13:44:59 +00:00
fix: Update confirm_ask prompts to use consistent formatting
This commit is contained in:
parent
9fb3a6f8e1
commit
3e5554c24f
3 changed files with 35 additions and 3 deletions
|
@ -1661,7 +1661,7 @@ class Coder:
|
|||
return True
|
||||
|
||||
if not Path(full_path).exists():
|
||||
if not self.io.confirm_ask("Allow creation of new file?", subject=path):
|
||||
if not self.io.confirm_ask("Create new file?", subject=path):
|
||||
self.io.tool_error(f"Skipping edits to {path}")
|
||||
return
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ class EditBlockCoder(Coder):
|
|||
if edit[0] is None:
|
||||
edit = edit[1]
|
||||
# This is a shell command
|
||||
if self.io.confirm_ask("Run this shell command?", subject=edit.strip()):
|
||||
if self.io.confirm_ask("Run shell command?", subject=edit.strip()):
|
||||
self.io.tool_output()
|
||||
try:
|
||||
# Add the command to input history
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue