Commit 3995f200 authored by Eirik Alvær's avatar Eirik Alvær
Browse files

fixes error

parent 08f28552
......@@ -221,8 +221,8 @@ function CommandExecutor() {
switch (parserObject.type) {
case "help":
helpText = helpTexts[parserObject.helpTopic || "help"];
if (!parserObject.helpTopic) {
helpText = helpTexts[parserObject.helpTopic];
if (parserObject.helpTopic === "help") {
addHelpCommands(helpText);
}
intermediateResult = new Promise(function (resolve) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment