fix: remove newline in auto insert subs
Deploy bin / deploy (push) Successful in 1s
Deploy agebd python package / deploy (push) Successful in 2s

This commit is contained in:
Benjamin Labrecque
2026-07-08 16:56:14 +02:00
parent 00d78102d5
commit 327b4ef958
+1 -1
View File
@@ -160,7 +160,7 @@ class ServiceCreator:
if re.search(pattern, file_content, re.MULTILINE):
# Insert our new row right before that closing brace line
updated_content = re.sub(
pattern, f"\n{new_row}\n\\1", file_content, count=1, flags=re.MULTILINE
pattern, f"\n{new_row}\\1", file_content, count=1, flags=re.MULTILINE
)
with open(MASTER_IOC_SUBS_FILE, "w") as f:
f.write(updated_content)