mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Revert "fix: Ignore decoding errors when reading text files"
This reverts commit f67ea5d010
.
This commit is contained in:
parent
86175a1827
commit
47fc6a689d
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ class InputOutput:
|
|||
return self.read_image(filename)
|
||||
|
||||
try:
|
||||
with open(str(filename), "r", encoding=self.encoding, errors="replace") as f:
|
||||
with open(str(filename), "r", encoding=self.encoding) as f:
|
||||
return f.read()
|
||||
except FileNotFoundError:
|
||||
if not silent:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue