mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
refactor: move gitignores from FileWatcher.start() to constructor
This commit is contained in:
parent
da4cb0aa62
commit
0fedecff58
2 changed files with 6 additions and 6 deletions
|
@ -391,10 +391,9 @@ class InputOutput:
|
|||
):
|
||||
self.rule()
|
||||
|
||||
# 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)
|
||||
self.file_watcher = FileWatcher(root, encoding=self.encoding, gitignores=gitignore)
|
||||
self.file_watcher.start()
|
||||
|
||||
rel_fnames = list(rel_fnames)
|
||||
show = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue