mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-07 05:05:01 +00:00
quote the HEAD
This commit is contained in:
parent
fb80377d18
commit
529079ec01
2 changed files with 9 additions and 7 deletions
|
@ -348,12 +348,14 @@ def find_original_update_blocks(content):
|
|||
if current_filename:
|
||||
filename = current_filename
|
||||
else:
|
||||
raise ValueError(f"Bad/missing filename. It should go right above {HEAD}")
|
||||
raise ValueError(
|
||||
f"Bad/missing filename. It should go right above the {HEAD}"
|
||||
)
|
||||
except IndexError:
|
||||
if current_filename:
|
||||
filename = current_filename
|
||||
else:
|
||||
raise ValueError(f"Bad/missing filename. It should go right above {HEAD}")
|
||||
raise ValueError(f"Bad/missing filename. It should go right above the {HEAD}")
|
||||
|
||||
current_filename = filename
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue