mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Specify node version
This commit is contained in:
parent
345ad741b3
commit
e16ce1d9c2
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Add file extensions to Crypto-Api imports
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
find ./node_modules/crypto-api/src/ \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i '' -e '/\.mjs/!s/\(from "\.[^"]*\)";/\1.mjs";/g'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue