Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
pretty print things back to the file
Browse files Browse the repository at this point in the history
  • Loading branch information
eeue56 committed Mar 11, 2016
1 parent 73594d5 commit afa7d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elm_deps_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def sync_versions(top_level_file, spec_file, quiet=False, dry=False):

if not dry:
with open(spec_file, 'w') as f:
f.write(json.dumps(spec))
json.dump(spec, f, sort_keys=False, indent=4)
else:
print("No changes written.")

Expand Down

0 comments on commit afa7d5c

Please sign in to comment.