mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: add comment to use self.ai_comments() method
This commit is contained in:
parent
dcfa993806
commit
014aeccde6
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class FileWatcher:
|
|||
|
||||
# Check if file contains AI markers
|
||||
try:
|
||||
#ai use self.ai_comments() instead!
|
||||
content = self.io.read_text(str(path_abs))
|
||||
res = bool(re.search(r"(?:#|//) *ai\b", content, re.IGNORECASE))
|
||||
if self.verbose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue