mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: correct eslint path in node_modules directory
This commit is contained in:
parent
6d23b22e6f
commit
7c5d999032
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Linter:
|
|||
def _check_eslint(self):
|
||||
eslint_names = ["eslint", "eslint.cmd", "eslint.exe"]
|
||||
eslint_paths = [
|
||||
Path("node_modules") / ".bin",
|
||||
Path(".") / "node_modules" / ".bin",
|
||||
Path(self.root) / "node_modules" / ".bin" if self.root else None,
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue