Normalize paths before checking aiderignore #479

This commit is contained in:
Paul Gauthier 2024-02-25 15:52:49 -08:00
parent 49c904eea5
commit 6dd5ae69e3
3 changed files with 16 additions and 13 deletions

View file

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