mirror of
https://github.com/gchq/CyberChef
synced 2025-01-21 00:43:53 +00:00
removed OpModules bodge from index generation scripts
This commit is contained in:
parent
7679705369
commit
dd51b675b0
1 changed files with 0 additions and 4 deletions
|
@ -471,9 +471,7 @@ module.exports = function (grunt) {
|
||||||
generateConfig: {
|
generateConfig: {
|
||||||
command: [
|
command: [
|
||||||
"echo '\n--- Regenerating config files. ---'",
|
"echo '\n--- Regenerating config files. ---'",
|
||||||
// "node --experimental-modules src/core/config/scripts/generateOpsIndex.mjs",
|
|
||||||
"mkdir -p src/core/config/modules",
|
"mkdir -p src/core/config/modules",
|
||||||
"echo 'export default {};\n' > src/core/config/modules/OpModules.mjs",
|
|
||||||
"echo '[]\n' > src/core/config/OperationConfig.json",
|
"echo '[]\n' > src/core/config/OperationConfig.json",
|
||||||
"node --experimental-modules --no-warnings --no-deprecation src/core/config/scripts/generateOpsIndex.mjs",
|
"node --experimental-modules --no-warnings --no-deprecation src/core/config/scripts/generateOpsIndex.mjs",
|
||||||
"node --experimental-modules --no-warnings --no-deprecation src/core/config/scripts/generateConfig.mjs",
|
"node --experimental-modules --no-warnings --no-deprecation src/core/config/scripts/generateConfig.mjs",
|
||||||
|
@ -483,8 +481,6 @@ module.exports = function (grunt) {
|
||||||
generateNodeIndex: {
|
generateNodeIndex: {
|
||||||
command: [
|
command: [
|
||||||
"echo '\n--- Regenerating node index ---'",
|
"echo '\n--- Regenerating node index ---'",
|
||||||
// Avoid cyclic dependency
|
|
||||||
"echo 'export default {};\n' > src/core/config/modules/OpModules.mjs",
|
|
||||||
"node --experimental-modules src/node/config/scripts/generateNodeIndex.mjs",
|
"node --experimental-modules src/node/config/scripts/generateNodeIndex.mjs",
|
||||||
"echo '--- Node index generated. ---\n'"
|
"echo '--- Node index generated. ---\n'"
|
||||||
].join(";"),
|
].join(";"),
|
||||||
|
|
Loading…
Reference in a new issue