fix: Handle case where edit path is None

This commit is contained in:
Paul Gauthier 2024-08-20 17:04:27 -07:00 committed by Paul Gauthier (aider)
parent 72bc851ac0
commit 347f3fe140
3 changed files with 22 additions and 8 deletions

View file

@ -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: