mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
ESM: Added file exists check to npm postinstall script.
This commit is contained in:
parent
093a7c8c8a
commit
4990a1f9f1
1 changed files with 1 additions and 1 deletions
|
@ -125,6 +125,6 @@
|
||||||
"test": "grunt test",
|
"test": "grunt test",
|
||||||
"docs": "grunt docs",
|
"docs": "grunt docs",
|
||||||
"lint": "grunt lint",
|
"lint": "grunt lint",
|
||||||
"postinstall": "npx j2m node_modules/crypto-api/src/crypto-api.js"
|
"postinstall": "[ -f node_modules/crypto-api/src/crypto-api.mjs ] || npx j2m node_modules/crypto-api/src/crypto-api.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue