mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Prety print database/mod-packs.json
This commit is contained in:
1 parent
fb4ffaffed
commit
dfadc62720
1 file changed
+1
-1
@@ -396,7 +396,7 @@ class Master {
|
||||
}
|
||||
|
||||
static async saveModPacks(filePath, modPacks) {
|
||||
await libFileOps.safeOutputFile(filePath, JSON.stringify([...modPacks.values()]));
|
||||
await libFileOps.safeOutputFile(filePath, JSON.stringify([...modPacks.values()], null, 4));
|
||||
}
|
||||
|
||||
static async loadModInfos(modsDirectory) {
|
||||
|
||||
Reference in new issue
Block a user