Fix incorrrent spelling of variable

Honestly not sure how this one slipped through
This commit is contained in:
J87 authored and GitHub committed 2021-12-07 21:42:10 +11:00
1 parent e9225a4b2c
commit 3e1a41393a
1 file changed
+2 -2
+2 -2
View File
@@ -176,7 +176,7 @@ masterConfigCommands.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 = await serializedConfigToString(respose.serialized_config, libConfig.MasterConfig, {});
let allConfigElements = await serializedConfigToString(response.serialized_config, libConfig.MasterConfig, {});
await fs.writeFile(tmpFile, allConfigElements, (err) => {
if (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 allConfigElements = await serializedConfigToString(
respose.serialized_config,
response.serialized_config,
libConfig.InstanceConfig,
disallowedList
);