mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44:59 +00:00
refactor: Filter out duplicate filenames from special_fnames list
This commit is contained in:
parent
75de2989f8
commit
1e5fdfa4be
1 changed files with 3 additions and 0 deletions
|
@ -506,8 +506,11 @@ class RepoMap:
|
|||
|
||||
other_rel_fnames = sorted(set(self.get_rel_fname(fname) for fname in other_fnames))
|
||||
special_fnames = filter_important_files(other_rel_fnames)
|
||||
special_fnames = [ # todo: only keep fnames which aren't in ranked_tags already
|
||||
]
|
||||
special_fnames = [(fn,) for fn in special_fnames]
|
||||
|
||||
|
||||
ranked_tags = special_fnames + ranked_tags
|
||||
|
||||
spin.step()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue