Specify node version

This commit is contained in:
n1474335 2021-01-22 14:53:53 +00:00
parent 345ad741b3
commit e16ce1d9c2
3 changed files with 8 additions and 2 deletions

View file

@ -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'