Skip to content

Commit 392aacb

Browse files
committed
ci: Use 2 JSON spaces
1 parent bc3d1c8 commit 392aacb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deploy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ function generateModsData(cache: GitCache) {
570570

571571
validateModAuthorData(modAuthorData);
572572

573-
fs.writeFileSync('mod_author_data.json', JSONstringifyOrder(modAuthorData, 4));
573+
fs.writeFileSync('mod_author_data.json', JSONstringifyOrder(modAuthorData, 2));
574574
}
575575

576576
function enrichCatalog(catalog: Record<string, any>, enrichment: any, modTimes: any, cache: GitCache) {
@@ -631,7 +631,7 @@ async function generateModCatalogs(cache: GitCache) {
631631

632632
const englishCatalog = modSourceUtils.getMetadataOfMods('en-US');
633633
const englishCatalogEnriched = enrichCatalog(englishCatalog, enrichment, modTimes, cache);
634-
fs.writeFileSync('catalog.json', JSONstringifyOrder(englishCatalogEnriched, 4));
634+
fs.writeFileSync('catalog.json', JSONstringifyOrder(englishCatalogEnriched, 2));
635635

636636
const catalogsDir = 'catalogs';
637637
if (!fs.existsSync(catalogsDir)) {
@@ -669,7 +669,7 @@ async function generateModCatalogs(cache: GitCache) {
669669
}
670670
}
671671

672-
fs.writeFileSync(path.join(catalogsDir, `${language}.json`), JSONstringifyOrder(catalogEnriched, 4));
672+
fs.writeFileSync(path.join(catalogsDir, `${language}.json`), JSONstringifyOrder(catalogEnriched, 2));
673673
}
674674
}
675675

0 commit comments

Comments
 (0)