mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
fix
This commit is contained in:
parent
a5746d9e54
commit
1acc5e04d0
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class WholeFileCoder(Coder):
|
|||
full_path = (Path(self.root) / fname).absolute()
|
||||
|
||||
if mode == "diff" and full_path.exists():
|
||||
orig_lines = full_path.read_text.splitlines()
|
||||
orig_lines = full_path.read_text().splitlines()
|
||||
|
||||
show_diff = diffs.diff_partial_update(
|
||||
orig_lines,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue