mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Fix incorrrent spelling of variable
Honestly not sure how this one slipped through
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -176,7 +176,7 @@ masterConfigCommands.add(new libCommand.Command({
|
|||||||
throw new libErrors.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
throw new libErrors.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
||||||
Try "ctl master config edit <editor of choice>"`);
|
Try "ctl master config edit <editor of choice>"`);
|
||||||
}
|
}
|
||||||
let allConfigElements = await serializedConfigToString(respose.serialized_config, libConfig.MasterConfig, {});
|
let allConfigElements = await serializedConfigToString(response.serialized_config, libConfig.MasterConfig, {});
|
||||||
await fs.writeFile(tmpFile, allConfigElements, (err) => {
|
await fs.writeFile(tmpFile, allConfigElements, (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
@@ -437,7 +437,7 @@ instanceConfigCommands.add(new libCommand.Command({
|
|||||||
}
|
}
|
||||||
let disallowedList = {"instance.id": 0, "instance.assigned_slave": 0, "factorio.settings": 0};
|
let disallowedList = {"instance.id": 0, "instance.assigned_slave": 0, "factorio.settings": 0};
|
||||||
let allConfigElements = await serializedConfigToString(
|
let allConfigElements = await serializedConfigToString(
|
||||||
respose.serialized_config,
|
response.serialized_config,
|
||||||
libConfig.InstanceConfig,
|
libConfig.InstanceConfig,
|
||||||
disallowedList
|
disallowedList
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user