forked from toolshed/abra-bash
		
	Sort that JSON
This commit is contained in:
		@ -284,7 +284,13 @@ def main():
 | 
			
		||||
 | 
			
		||||
    target = f"{SCRIPT_PATH}/../deploy/apps.coopcloud.tech/apps.json"
 | 
			
		||||
    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}")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user