mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
fix: remove redundant set conversion in get_file_mentions return
This commit is contained in:
parent
b9c5a7cdab
commit
41a43fc313
1 changed files with 1 additions and 1 deletions
|
@ -1315,7 +1315,7 @@ class Coder:
|
||||||
if len(rel_fnames) == 1 and fname in words:
|
if len(rel_fnames) == 1 and fname in words:
|
||||||
mentioned_rel_fnames.add(rel_fnames[0])
|
mentioned_rel_fnames.add(rel_fnames[0])
|
||||||
|
|
||||||
return set(mentioned_rel_fnames)
|
return mentioned_rel_fnames
|
||||||
|
|
||||||
def check_for_file_mentions(self, content):
|
def check_for_file_mentions(self, content):
|
||||||
mentioned_rel_fnames = self.get_file_mentions(content)
|
mentioned_rel_fnames = self.get_file_mentions(content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue