Sort that JSON
This commit is contained in:
parent
a8b5fb5c1e
commit
39a7fc04fb
@ -284,7 +284,13 @@ def main():
|
|||||||
|
|
||||||
target = f"{SCRIPT_PATH}/../deploy/apps.coopcloud.tech/apps.json"
|
target = f"{SCRIPT_PATH}/../deploy/apps.coopcloud.tech/apps.json"
|
||||||
with open(target, "w", encoding="utf-8") as handle:
|
with open(target, "w", encoding="utf-8") as handle:
|
||||||
dump(generate_apps_json(repos_json), handle, ensure_ascii=False, indent=4)
|
dump(
|
||||||
|
generate_apps_json(repos_json),
|
||||||
|
handle,
|
||||||
|
ensure_ascii=False,
|
||||||
|
indent=4,
|
||||||
|
sort_keys=True,
|
||||||
|
)
|
||||||
|
|
||||||
log.info(f"Successfully generated {target}")
|
log.info(f"Successfully generated {target}")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user