Commit 46bb983c authored by Francesco Witz's avatar Francesco Witz
Browse files

Merge branch 'fix' into 'main'

fix: line formatting

See merge request !13
parents ed4251d4 147e324f
...@@ -70,27 +70,27 @@ def write_changes(project_path: str, file: File, commits: list[Commit]): ...@@ -70,27 +70,27 @@ def write_changes(project_path: str, file: File, commits: list[Commit]):
if added: if added:
section.append("### Added\n") section.append("### Added\n")
for e in added: for e in added:
section.append("- " + e + "\") section.append("- " + e + "\n")
section.append("\n") section.append("\n")
if changed: if changed:
section.append("### Changed\n") section.append("### Changed\n")
for e in changed: for e in changed:
section.append("- " + e + "\") section.append("- " + e + "\n")
section.append("\n") section.append("\n")
if removed: if removed:
section.append("### Removed\n") section.append("### Removed\n")
for e in removed: for e in removed:
section.append("- " + e + "\") section.append("- " + e + "\n")
section.append("\n") section.append("\n")
if security: if security:
section.append("### Security\n") section.append("### Security\n")
for e in security: for e in security:
section.append("- " + e + "\") section.append("- " + e + "\n")
section.append("\n") section.append("\n")
if doc: if doc:
section.append("### Doc\n") section.append("### Doc\n")
for e in doc: for e in doc:
section.append("- " + e + "\") section.append("- " + e + "\n")
section.append("\n") section.append("\n")
# Finally writting everything to file # Finally writting everything to file
lines = file.read_chlog() lines = file.read_chlog()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment