mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
Merge branch 'main' into sitter-map
This commit is contained in:
commit
cb8d9d6a64
1 changed files with 6 additions and 1 deletions
|
@ -215,7 +215,12 @@ class RepoMap:
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
if not Path(fname).is_file():
|
if not Path(fname).is_file():
|
||||||
if fname not in self.warned_files:
|
if fname not in self.warned_files:
|
||||||
self.io.tool_error(f"Repo-map can't include {fname}")
|
if Path(fname).exists():
|
||||||
|
self.io.tool_error(
|
||||||
|
f"Repo-map can't include {fname}, it is not a normal file"
|
||||||
|
)
|
||||||
|
else:
|
||||||
|
self.io.tool_error(f"Repo-map can't include {fname}, it no longer exists")
|
||||||
|
|
||||||
self.warned_files.add(fname)
|
self.warned_files.add(fname)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue