mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: simplify get_ai_comments to return only line numbers and bang status
This commit is contained in:
parent
c56f06fbcb
commit
cd922e919e
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ class FileWatcher:
|
||||||
dump(res)
|
dump(res)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
#ai don't return the comments, just line nums and has bang!
|
||||||
def get_ai_comments(self, filepath):
|
def get_ai_comments(self, filepath):
|
||||||
"""Extract all AI comments from a file, returning comments, line numbers and bang status"""
|
"""Extract all AI comments from a file, returning comments, line numbers and bang status"""
|
||||||
comments = []
|
comments = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue