mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
Refactor apply_updates method to return edit_error instead of err.
This commit is contained in:
parent
28533ad23e
commit
37a4c47282
1 changed files with 3 additions and 3 deletions
|
@ -255,9 +255,9 @@ class Coder:
|
|||
if interrupted:
|
||||
return
|
||||
|
||||
edited, err = self.apply_updates(content, inp)
|
||||
if err:
|
||||
return err
|
||||
edited, edit_error = self.apply_updates(content, inp)
|
||||
if edit_error:
|
||||
return edit_error
|
||||
|
||||
if edited and self.auto_commits:
|
||||
self.auto_commit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue