mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-24 00:23:12 +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) {
|
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) {
|
static async loadModInfos(modsDirectory) {
|
||||||
|
|||||||
Reference in new issue
Block a user