diff --git a/checkNodeV.sh b/checkNodeV.sh index baab9bfad..ef781838f 100644 --- a/checkNodeV.sh +++ b/checkNodeV.sh @@ -1,7 +1,7 @@ #!/bin/bash current_node_ver="$(node -v)" required_node_ver="v17.0.0" - if [ "$(printf '%s\n' "$required_node_ver" "$current_node_ver" | sort -V | head -n1)" = "$required_node_ver"> + if [ "$(printf '%s\n' "$required_node_ver" "$current_node_ver" | sort -V | head -n1)" = "$required_node_ver" ]; then echo "node-options='--openssl-legacy-provider'" > .npmrc else echo '' > .npmrc