Skip to content

Commit

Permalink
fix: Pretty-print JSON file replacer
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengrice committed Aug 19, 2024
1 parent 3c9792a commit f6d91a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagekey_semver/file_replacer/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def perform_replace(self, tag: Tag) -> str:

# Write the new file contents back to the same file.
with open(self.name, "w") as file_handle:
json.dump(contents, file_handle)
json.dump(contents, file_handle, indent=4)

0 comments on commit f6d91a2

Please sign in to comment.