From a64f14db51a652d2d16d04155ce5ba9b2fd1fe0d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 1 Dec 2024 07:54:09 -0800 Subject: [PATCH] refactor: modify get_ai_comments to return line nums, comments and has_bang --- aider/watch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/watch.py b/aider/watch.py index 193ea41e7..ad80e4e03 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -196,6 +196,7 @@ class FileWatcher: dump(res) return res + # ai actually, have this function return the line nums, the comments and has_bang! def get_ai_comments(self, filepath): """Extract AI comment line numbers and bang status from a file""" line_nums = []