Skip to content

Commit 6a62fe1

Browse files
Eric EngstfeldEric Engstfeld
authored andcommitted
Minor fix in alquimia integration
1 parent f9f2c80 commit 6a62fe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/specify_cli/integrations/alquimia_ai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _inject_hook_command_note(content: str) -> str:
172172
def repl(m: re.Match[str]) -> str:
173173
indent = m.group(1)
174174
instruction = m.group(2)
175-
eol = m.group(3)
175+
eol = m.group(3) or '\n'
176176
return (
177177
indent
178178
+ _HOOK_COMMAND_NOTE.rstrip("\n")

0 commit comments

Comments
 (0)