mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Fix copy paste error in error message
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -219,7 +219,7 @@ hostConfigCommands.add(new lib.Command({
|
|||||||
let editor = await getEditor(args.editor);
|
let editor = await getEditor(args.editor);
|
||||||
if (editor === undefined) {
|
if (editor === undefined) {
|
||||||
throw new lib.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
throw new lib.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
||||||
Try "ctl controller config edit <editor of choice>"`);
|
Try "ctl host config edit <editor of choice>"`);
|
||||||
}
|
}
|
||||||
let disallowedList = {"host.id": 0};
|
let disallowedList = {"host.id": 0};
|
||||||
let allConfigElements = serializedConfigToString(
|
let allConfigElements = serializedConfigToString(
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ instanceConfigCommands.add(new lib.Command({
|
|||||||
let editor = await getEditor(args.editor);
|
let editor = await getEditor(args.editor);
|
||||||
if (editor === undefined) {
|
if (editor === undefined) {
|
||||||
throw new lib.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
throw new lib.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars
|
||||||
Try "ctl controller config edit <editor of choice>"`);
|
Try "ctl instance config edit <editor of choice>"`);
|
||||||
}
|
}
|
||||||
let disallowedList = {"instance.id": 0, "instance.assigned_host": 0, "factorio.settings": 0};
|
let disallowedList = {"instance.id": 0, "instance.assigned_host": 0, "factorio.settings": 0};
|
||||||
let allConfigElements = serializedConfigToString(
|
let allConfigElements = serializedConfigToString(
|
||||||
|
|||||||
Reference in new issue
Block a user