mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
refactor: add comment about using io.read_text for AI marker detection
This commit is contained in:
parent
4d96de3514
commit
bd3231d8dd
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ class FileWatcher:
|
|||
|
||||
# Check if file contains AI markers
|
||||
try:
|
||||
# ai: use io.read_text and run the regex on the file!
|
||||
comments = self.get_ai_comment(str(path_abs))
|
||||
if self.verbose:
|
||||
dump(bool(comments))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue