mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Fix linting error
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -436,7 +436,11 @@ instanceConfigCommands.add(new libCommand.Command({
|
||||
Try "ctl master config edit <editor of choice>"`);
|
||||
}
|
||||
let disallowedList = {"instance.id": 0, "instance.assigned_slave": 0, "factorio.settings": 0};
|
||||
let allConfigElements = await serializedConfigToString(respose.serialized_config, libConfig.InstanceConfig, disallowedList);
|
||||
let allConfigElements = await serializedConfigToString(
|
||||
respose.serialized_config,
|
||||
libConfig.InstanceConfig,
|
||||
disallowedList
|
||||
);
|
||||
await fs.writeFile(tmpFile, allConfigElements, (err) => {
|
||||
if (err) {
|
||||
throw err;
|
||||
|
||||
Reference in new issue
Block a user