mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
only glob, not rglob for /read
This commit is contained in:
parent
a080581329
commit
ddb876d2fe
1 changed files with 1 additions and 1 deletions
|
@ -1175,7 +1175,7 @@ class Commands:
|
|||
matches = list(glob.glob(expanded_pattern))
|
||||
else:
|
||||
# For relative paths and globs, use glob from the root directory
|
||||
matches = list(Path(self.coder.root).rglob(expanded_pattern))
|
||||
matches = list(Path(self.coder.root).glob(expanded_pattern))
|
||||
|
||||
if not matches:
|
||||
self.io.tool_error(f"No matches found for: {pattern}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue