From 1acc5e04d01255bad625f41eab7b2641156cc18e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 24 Jun 2023 16:34:10 -0700 Subject: [PATCH] fix --- aider/coders/wholefile_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/wholefile_coder.py b/aider/coders/wholefile_coder.py index 632f49fe8..d8448a79c 100644 --- a/aider/coders/wholefile_coder.py +++ b/aider/coders/wholefile_coder.py @@ -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,