Skip to content

Commit d295fa3

Browse files
committed
Fix task.toml writing.
1 parent 520cfdf commit d295fa3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/harbor/models/task/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def model_dump_toml(self) -> str:
424424
parts.append(toml.dumps({field: value}))
425425
emitted.add(field)
426426

427-
return "\n".join(part.strip() for part in parts if part.strip()) + "\n"
427+
return "\n\n".join(part.strip() for part in parts if part.strip()) + "\n"
428428

429429
@staticmethod
430430
def _is_toml_table_like(value: Any) -> bool:

0 commit comments

Comments
 (0)