Skip to content

Commit

Permalink
🐛 Add indent to metadata.json dump. Fixes #600
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Feb 11, 2019
1 parent f52de16 commit 1ea535f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dash/development/component_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def generate_components(components_source, project_shortname,
)

with open(os.path.join(project_shortname, 'metadata.json'), 'w') as f:
json.dump(metadata, f)
json.dump(metadata, f, indent=2)

generate_imports(project_shortname, components)

Expand Down

0 comments on commit 1ea535f

Please sign in to comment.