mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
refactor: move gitignore handling from start() to FileWatcher constructor
This commit is contained in:
parent
3b8a771909
commit
da4cb0aa62
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ class InputOutput:
|
|||
):
|
||||
self.rule()
|
||||
|
||||
# ai: initialize this in __init__!
|
||||
# ai: the ignores should be passed to FileWater() not start()!
|
||||
self.file_watcher = FileWatcher(root, encoding=self.encoding)
|
||||
gitignore = [str(Path(root) / ".gitignore")]
|
||||
self.file_watcher.start(gitignores=gitignore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue