mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
Normalize paths before checking aiderignore #479
This commit is contained in:
parent
49c904eea5
commit
6dd5ae69e3
3 changed files with 16 additions and 13 deletions
|
@ -342,7 +342,7 @@ class Commands:
|
|||
else:
|
||||
fname = Path(self.coder.root) / word
|
||||
|
||||
if self.coder.repo and not self.coder.repo.filter_ignored_files([fname]):
|
||||
if self.coder.repo and self.coder.repo.ignored_file(fname):
|
||||
self.io.tool_error(f"Skipping {fname} that matches aiderignore spec.")
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue