diff --git a/src/core/Recipe.mjs b/src/core/Recipe.mjs index cd043ad3..e807febd 100755 --- a/src/core/Recipe.mjs +++ b/src/core/Recipe.mjs @@ -190,7 +190,6 @@ class Recipe { for (let i = startFrom; i < this.opList.length; i++) { op = this.opList[i]; log.debug(`[${i}] ${op.name} ${JSON.stringify(op.ingValues)}`); - if (op.disabled) { log.debug("Operation is disabled, skipping"); continue; @@ -201,7 +200,6 @@ class Recipe { } try { - if (op.name != "Comment") { input = await dish.get(op.inputType); } @@ -234,12 +232,10 @@ class Recipe { output = await op.run(input, op.ingValues); dish.set(output, op.outputType); } - // if comment is the lastRunOp, the output we want is the previous command, not necessarily a String if (op.name != "Comment"){ this.lastRunOp = op; } - } catch (err) { // Return expected errors as output if (err instanceof OperationError ||