cli: add name to master subs
This commit is contained in:
@@ -169,7 +169,8 @@ class ServiceCreator:
|
||||
updated_content = re.sub(
|
||||
pattern, f"\n{new_row}\n\\1", file_content, count=1, flags=re.MULTILINE
|
||||
)
|
||||
return updated_content
|
||||
with open(MASTER_IOC_SUBS_FILE, "w") as f:
|
||||
f.write(updated_content)
|
||||
else:
|
||||
raise ValueError(
|
||||
"Could not locate the closing structure format '}' inside the configuration."
|
||||
|
||||
Reference in New Issue
Block a user