Refactored linting to use absolute file path.

This commit is contained in:
Paul Gauthier 2024-05-17 19:22:17 -07:00
parent 0412b19f6b
commit b26969ea90

View file

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