feat: pass encoding parameter to watch_source_files function

This commit is contained in:
Paul Gauthier (aider) 2024-10-25 13:24:06 -07:00
parent 6c2e0ccce5
commit 70edb62a6b

View file

@ -374,7 +374,7 @@ class InputOutput:
try:
gitignore = [str(Path(root) / ".gitignore")]
for changed in watch_source_files(
root, stop_event=stop_event, gitignores=gitignore
root, stop_event=stop_event, gitignores=gitignore, encoding=self.encoding
):
if changed:
self.changed_files = list(changed)