mirror of
https://github.com/gchq/CyberChef
synced 2025-12-24 04:04:25 +00:00
Formally disallow flowcontrol operations from being used in bake recipes
This commit is contained in:
@@ -100,8 +100,7 @@ Object.keys(operations).forEach((op) => {
|
||||
|
||||
code += `];
|
||||
|
||||
const prebaked = bake(operations);
|
||||
chef.bake = prebaked;
|
||||
chef.bake = bake;
|
||||
export default chef;
|
||||
|
||||
// Operations as top level exports.
|
||||
@@ -114,7 +113,7 @@ Object.keys(operations).forEach((op) => {
|
||||
});
|
||||
|
||||
code += " NodeDish as Dish,\n";
|
||||
code += " prebaked as bake,\n";
|
||||
code += " bake,\n";
|
||||
code += " help,\n";
|
||||
code += " OperationError,\n";
|
||||
code += " ExcludedOperationError,\n";
|
||||
|
||||
Reference in New Issue
Block a user