mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 20:25:01 +00:00
Updated Linter to return LintResult if text or lines are present.
This commit is contained in:
parent
1a3ae1fb60
commit
828e14fd3d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class Linter:
|
|||
text += res.text
|
||||
lines.update(res.lines)
|
||||
|
||||
if text:
|
||||
if text or lines:
|
||||
return LintResult(text, lines)
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue