mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Add InvalidGitRepositoryError to ANY_GIT_ERROR list
This commit is contained in:
parent
b818d6a921
commit
f047882ac1
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ try:
|
|||
ANY_GIT_ERROR = [
|
||||
git.exc.ODBError,
|
||||
git.exc.GitError,
|
||||
git.exc.InvalidGitRepositoryError,
|
||||
]
|
||||
except ImportError:
|
||||
git = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue