mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 06:15:00 +00:00
bugfix
This commit is contained in:
parent
de17d8ea29
commit
610998aafd
1 changed files with 1 additions and 1 deletions
2
coder.py
2
coder.py
|
@ -315,7 +315,7 @@ class Coder:
|
|||
res = res[1:-1]
|
||||
|
||||
res = '\n'.join(res)
|
||||
if res[-1] != '\n':
|
||||
if res and res[-1] != '\n':
|
||||
res += '\n'
|
||||
|
||||
return res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue