mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 05:05:01 +00:00
fixed test
This commit is contained in:
parent
e26acbae65
commit
4b69e2b85c
5 changed files with 18 additions and 11 deletions
|
@ -52,12 +52,8 @@ class EditBlockCoder(Coder):
|
|||
):
|
||||
self.repo.git.add(full_path)
|
||||
|
||||
edited.add(path)
|
||||
if do_replace(full_path, original, updated, self.dry_run):
|
||||
if self.dry_run:
|
||||
self.io.tool_output(f"Dry run, did not apply edit to {path}")
|
||||
else:
|
||||
self.io.tool_output(f"Applied edit to {path}")
|
||||
edited.add(path)
|
||||
else:
|
||||
self.io.tool_error(f"Failed to apply edit to {path}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue