mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 03:35:00 +00:00
handle submodules (or other dirs) which are git tracked #336
This commit is contained in:
parent
5d0e92296a
commit
bf6cd8294e
3 changed files with 29 additions and 46 deletions
|
@ -146,6 +146,9 @@ class InputOutput:
|
|||
except FileNotFoundError:
|
||||
self.tool_error(f"{filename}: file not found error")
|
||||
return
|
||||
except IsADirectoryError:
|
||||
self.tool_error(f"{filename}: is a directory")
|
||||
return
|
||||
except UnicodeError as e:
|
||||
self.tool_error(f"{filename}: {e}")
|
||||
self.tool_error("Use --encoding to set the unicode encoding.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue