mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
Skip non-files when building repomap #174
This commit is contained in:
parent
500a22c306
commit
f26e40d48e
2 changed files with 4 additions and 0 deletions
|
@ -307,6 +307,10 @@ class RepoMap:
|
|||
self.cache_missing = False
|
||||
|
||||
for fname in fnames:
|
||||
if not Path(fname).is_file():
|
||||
self.io.tool_error(f"Repo-map can't include {fname}")
|
||||
continue
|
||||
|
||||
# dump(fname)
|
||||
rel_fname = os.path.relpath(fname, self.root)
|
||||
|
||||
|
|
0
hello.py
Normal file
0
hello.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue