mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +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:
|
else:
|
||||||
try:
|
try:
|
||||||
raw_matched_files = list(Path(self.coder.root).glob(pattern))
|
raw_matched_files = list(Path(self.coder.root).glob(pattern))
|
||||||
except IndexError:
|
except (IndexError, AttributeError):
|
||||||
raw_matched_files = []
|
raw_matched_files = []
|
||||||
except ValueError as err:
|
except ValueError as err:
|
||||||
self.io.tool_error(f"Error matching {pattern}: {err}")
|
self.io.tool_error(f"Error matching {pattern}: {err}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue