Skip to content

Commit

Permalink
batou migrate: add newline at the end of .batou.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Jun 3, 2024
1 parent 9d563b9 commit 094e40f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## 2.5.0b3 (unreleased)
-----------------------

- Nothing changed yet.
- batou migrate now writes .batou.json with a newline at the end.


## 2.5.0b2 (2024-05-15)
Expand Down
1 change: 1 addition & 0 deletions src/batou/migrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def write_config(version: int) -> None:
"""
with open(CONFIG_FILE_NAME, "w") as f:
json.dump({"migration": {"version": version}}, f)
f.write("\n")


def get_current_version() -> int:
Expand Down

0 comments on commit 094e40f

Please sign in to comment.