This commit is contained in:
Paul Gauthier 2023-06-24 16:34:10 -07:00
parent a5746d9e54
commit 1acc5e04d0

View file

@ -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,