Fix copy paste error in error message

This commit is contained in:
Cooldude2606 committed 2026-10-07 19:52:16 +01:00
1 parent 7ee09ac790
commit c11079260d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ hostConfigCommands.add(new lib.Command({
let editor = await getEditor(args.editor);
if (editor === undefined) {
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 allConfigElements = serializedConfigToString(
+1 -1
View File
@@ -156,7 +156,7 @@ instanceConfigCommands.add(new lib.Command({
let editor = await getEditor(args.editor);
if (editor === undefined) {
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 allConfigElements = serializedConfigToString(