Skip to content

Commit

Permalink
Indent generated files (netdata#17423)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkalintiris authored Apr 18, 2024
1 parent 4250aef commit 8fc27d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/gen_integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ def render_authentications(categories, authentications, ids):
def render_integrations(categories, integrations):
template = get_jinja_env().get_template('integrations.js')
data = template.render(
categories=json.dumps(categories),
integrations=json.dumps(integrations),
categories=json.dumps(categories, indent=4),
integrations=json.dumps(integrations, indent=4),
)
OUTPUT_PATH.write_text(data)

Expand All @@ -768,7 +768,7 @@ def render_json(categories, integrations):
JSON_PATH.write_text(json.dumps({
'categories': categories,
'integrations': integrations,
}))
}, indent=4))


def main():
Expand Down

0 comments on commit 8fc27d7

Please sign in to comment.