mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: improve file path handling with glob and rglob
This commit is contained in:
parent
f70a82791b
commit
a080581329
2 changed files with 9 additions and 12 deletions
|
@ -714,7 +714,7 @@ class InputOutput:
|
|||
return "\n".join(read_only_files + editable_files) + "\n"
|
||||
|
||||
|
||||
def get_rel_fname(self, fname, root):
|
||||
def get_rel_fname(fname, root):
|
||||
try:
|
||||
return os.path.relpath(fname, root)
|
||||
except ValueError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue