mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Quick fix for empty recipe error. Changed deflate back to compression module
This commit is contained in:
parent
76f27dbcdb
commit
bbc580e71b
5 changed files with 9 additions and 7 deletions
|
@ -189,9 +189,11 @@ class Recipe {
|
|||
}
|
||||
|
||||
// Present the results of the final operation
|
||||
// TODO try/catch
|
||||
output = await lastRunOp.present(output);
|
||||
dish.set(output, lastRunOp.presentType);
|
||||
if (lastRunOp) {
|
||||
// TODO try/catch
|
||||
output = await lastRunOp.present(output);
|
||||
dish.set(output, lastRunOp.presentType);
|
||||
}
|
||||
|
||||
log.debug("Recipe complete");
|
||||
return this.opList.length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue