mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 06:05:00 +00:00
fixed test
This commit is contained in:
parent
e26acbae65
commit
4b69e2b85c
5 changed files with 18 additions and 11 deletions
|
@ -54,9 +54,10 @@ class WholeFileCoder(Coder):
|
|||
).splitlines()
|
||||
output += show_diff
|
||||
else:
|
||||
new_lines = "".join(new_lines)
|
||||
Path(full_path).write_text(new_lines)
|
||||
edited.add(fname)
|
||||
if not self.dry_run:
|
||||
new_lines = "".join(new_lines)
|
||||
Path(full_path).write_text(new_lines)
|
||||
|
||||
fname = None
|
||||
new_lines = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue