From b26969ea9023fa6c327c2f165c395c127c90ae98 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 17 May 2024 19:22:17 -0700 Subject: [PATCH] Refactored linting to use absolute file path. --- aider/coders/base_coder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index b9d8c6df1..ccf7854f3 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -767,7 +767,7 @@ class Coder: def lint_edited(self, fnames): res = "" for fname in fnames: - errors = self.linter.lint(fname) + errors = self.linter.lint(self.abs_root_path(fname)) if errors: res += "\n" res += errors