mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
refactor: Move bang check logic to file change detection
This commit is contained in:
parent
9a5925b1ad
commit
2eb7f78248
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ class FileWatcher:
|
|||
"""Get any detected file changes"""
|
||||
|
||||
for fname in self.changed_files:
|
||||
# ai actually, check for bangs up here, not down below!
|
||||
if fname in self.coder.abs_fnames:
|
||||
continue
|
||||
self.coder.abs_fnames.add(fname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue