mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
Fixed variable definition
This commit is contained in:
1 file changed
-1
@@ -435,7 +435,6 @@ instanceConfigCommands.add(new libCommand.Command({
|
||||
throw new libErrors.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
||||
Try "ctl master config edit <editor of choice>"`);
|
||||
}
|
||||
let allConfigElements = "";
|
||||
let disallowedList = {"instance.id": 0, "instance.assigned_slave": 0, "factorio.settings": 0};
|
||||
let allConfigElements = await serializedConfigToString(respose.serialized_config, libConfig.InstanceConfig, disallowedList);
|
||||
await fs.writeFile(tmpFile, allConfigElements, (err) => {
|
||||
|
||||
Reference in new issue
Block a user