mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Refactored linting to use absolute file path.
This commit is contained in:
parent
0412b19f6b
commit
b26969ea90
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue