mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
update function comments
This commit is contained in:
parent
a8fbd5164e
commit
111546ad1a
1 changed files with 1 additions and 2 deletions
|
@ -43,9 +43,8 @@ class NodeRecipe {
|
||||||
} else {
|
} else {
|
||||||
throw new TypeError("Inputted function not a Chef operation.");
|
throw new TypeError("Inputted function not a Chef operation.");
|
||||||
}
|
}
|
||||||
// CASE: op with configuration
|
// CASE: op, maybe with configuration
|
||||||
} else if (ing.op) {
|
} else if (ing.op) {
|
||||||
// Return op and args pair for opList item.
|
|
||||||
const sanitisedOp = this._validateIngredient(ing.op);
|
const sanitisedOp = this._validateIngredient(ing.op);
|
||||||
if (ing.args) {
|
if (ing.args) {
|
||||||
return {op: sanitisedOp, args: ing.args};
|
return {op: sanitisedOp, args: ing.args};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue