Skip to content

Commit

Permalink
Merge pull request #14 from cfengine/bug
Browse files Browse the repository at this point in the history
Fixed bug with prettifying json in cfbs add
  • Loading branch information
olehermanse authored Jul 20, 2021
2 parents 32df43c + 161e898 commit fc23b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cfbs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def get_definition() -> dict:
def put_definition(data: dict):
global definition
definition = data
write_json(cfbs_filename(), pretty(data))
with open(cfbs_filename()) as f:
f.write(pretty(data))


index = None
Expand Down

0 comments on commit fc23b4e

Please sign in to comment.