mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
refactor: simplify file name matching logic in get_all_relative_files
This commit is contained in:
parent
266093189d
commit
cbd339190b
1 changed files with 0 additions and 2 deletions
|
@ -585,8 +585,6 @@ class Coder:
|
||||||
|
|
||||||
for fname in self.get_all_relative_files():
|
for fname in self.get_all_relative_files():
|
||||||
base = Path(fname).with_suffix("").name.lower()
|
base = Path(fname).with_suffix("").name.lower()
|
||||||
# Only skip if we already have a file with this name AND
|
|
||||||
# the base name matches the identifier
|
|
||||||
if len(base) >= 5:
|
if len(base) >= 5:
|
||||||
all_fnames[base].add(fname)
|
all_fnames[base].add(fname)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue