mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 03:35:00 +00:00
fix: Handle case where edit path is None
This commit is contained in:
parent
72bc851ac0
commit
347f3fe140
3 changed files with 22 additions and 8 deletions
|
@ -1731,6 +1731,9 @@ class Coder:
|
|||
|
||||
for edit in edits:
|
||||
path = edit[0]
|
||||
if path is None:
|
||||
res.append(edit)
|
||||
continue
|
||||
if path in seen:
|
||||
allowed = seen[path]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue