mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
fix: Shorten long comment line in patch_coder.py
This commit is contained in:
parent
97e2a7bae0
commit
e8c43c36d7
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ class PatchCoder(Coder):
|
|||
|
||||
elif action.type == ActionType.UPDATE:
|
||||
if not path_obj.exists():
|
||||
# Update should fail if file doesn't exist (checked in apply_patch.py parser).
|
||||
# Update should fail if file doesn't exist
|
||||
# (checked in apply_patch.py parser).
|
||||
raise ValueError(f"UPDATE Error: File does not exist: {action.path}")
|
||||
|
||||
current_content = self.io.read_text(full_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue