mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fixes #1941
This commit is contained in:
parent
cbdabd3ae9
commit
1d2a3f573c
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ class Commands:
|
|||
else:
|
||||
try:
|
||||
raw_matched_files = list(Path(self.coder.root).glob(pattern))
|
||||
except IndexError:
|
||||
except (IndexError, AttributeError):
|
||||
raw_matched_files = []
|
||||
except ValueError as err:
|
||||
self.io.tool_error(f"Error matching {pattern}: {err}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue