mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
amend generateNodeIndex script
This commit is contained in:
parent
9d5e533e32
commit
336810cbf4
@ -67,7 +67,7 @@ function generateChef() {
|
||||
`;
|
||||
|
||||
Object.keys(operations).forEach((op) => {
|
||||
code += ` ${decapitalise(op)}: wrap(core_${op}),\n`;
|
||||
code += ` '${decapitalise(op)}': wrap(core_${op}),\n`;
|
||||
});
|
||||
|
||||
code += ` };
|
||||
@ -78,7 +78,7 @@ const chef = generateChef();
|
||||
`;
|
||||
|
||||
Object.keys(operations).forEach((op) => {
|
||||
code += `const ${decapitalise(op)} = chef[${decapitalise(op)}];\n`;
|
||||
code += `const ${decapitalise(op)} = chef['${decapitalise(op)}'];\n`;
|
||||
});
|
||||
|
||||
code +=`
|
||||
|
Loading…
Reference in New Issue
Block a user