Merged in refactor/separate-command-files (pull request #27)

refactor: separate command files

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-11-20 00:06:34 +00:00
committed by jt
+2 -2
View File
@@ -54,7 +54,7 @@ class Changelog:
def _prepend(self, content: str): def _prepend(self, content: str):
if isfile(self.FILENAME): if isfile(self.FILENAME):
with open(self.FILENAME, "rw") as f: with open(self.FILENAME, "r") as f:
content += f.read() content += f.read()
f.seek(0) with open(self.FILENAME, "w") as f:
f.write(content) f.write(content)