mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 21:55:00 +00:00
copy
This commit is contained in:
parent
e14c84f2fb
commit
9930057171
6 changed files with 316 additions and 255 deletions
|
@ -218,7 +218,7 @@ Be sure to remove all these "ai" comments from the code!
|
|||
line_nums = []
|
||||
comments = []
|
||||
has_bang = False
|
||||
content = self.io.read_text(filepath)
|
||||
content = self.io.read_text(filepath, silent=True)
|
||||
for i, line in enumerate(content.splitlines(), 1):
|
||||
if match := self.ai_comment_pattern.search(line):
|
||||
comment = match.group(0).strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue