mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: Fix formatting and encoding in base_coder.py
This commit is contained in:
parent
25c36503ff
commit
ee6641f2e7
1 changed files with 2 additions and 2 deletions
|
@ -1664,8 +1664,8 @@ class Coder:
|
|||
if not os.path.exists(full_path):
|
||||
self.io.tool_error(f"Error: File {path} does not exist. Skipping edits.")
|
||||
continue
|
||||
|
||||
|
||||
if not self.dry_run:
|
||||
with open(full_path, 'w', encoding=self.io.encoding) as f:
|
||||
with open(full_path, "w", encoding=self.io.encoding) as f:
|
||||
f.write(content)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue