mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: correct undefined filter_func and remove unnecessary f-string
This commit is contained in:
parent
27540d16ed
commit
b1dbf340b8
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ class FileWatcher:
|
||||||
def watch_files():
|
def watch_files():
|
||||||
try:
|
try:
|
||||||
for changes in watch(
|
for changes in watch(
|
||||||
str(self.root), watch_filter=filter_func, stop_event=self.stop_event
|
str(self.root), watch_filter=self.filter_func, stop_event=self.stop_event
|
||||||
):
|
):
|
||||||
if not changes:
|
if not changes:
|
||||||
continue
|
continue
|
||||||
|
@ -171,7 +171,7 @@ class FileWatcher:
|
||||||
if not has_bangs:
|
if not has_bangs:
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
self.io.tool_output(f"Processing your request...")
|
self.io.tool_output("Processing your request...")
|
||||||
|
|
||||||
# Refresh all AI comments from tracked files
|
# Refresh all AI comments from tracked files
|
||||||
ai_comments = {}
|
ai_comments = {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue