mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
added tests, fixed bug
This commit is contained in:
parent
9725b236a3
commit
583c3285ec
2 changed files with 41 additions and 0 deletions
|
@ -202,6 +202,9 @@ class GitRepo:
|
|||
if not self.aider_ignore_file:
|
||||
return fnames
|
||||
|
||||
if not Path(self.aider_ignore_file).is_file():
|
||||
return fnames
|
||||
|
||||
with open(self.aider_ignore_file, "r") as f:
|
||||
ignore_spec = pathspec.PathSpec.from_lines("gitwildmatch", f)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue