fix: add null check for filename in lint_edited method

This commit is contained in:
Paul Gauthier 2024-12-04 10:03:22 -08:00 committed by Paul Gauthier (aider)
parent 974e618541
commit efe9268bcb

View file

@ -1420,6 +1420,8 @@ class Coder:
def lint_edited(self, fnames):
res = ""
for fname in fnames:
if not fname:
continue
errors = self.linter.lint(self.abs_root_path(fname))
if errors: