Update resources/shellHelperFunctions.sh

Co-authored-by: Marc Durdin <marc@durdin.net>
This commit is contained in:
Eberhard Beilharz 2024-12-06 09:09:24 +01:00 committed by GitHub
parent fbc3790043
commit afa47e08ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -289,8 +289,8 @@ _select_node_version_with_nvm() {
else
CURRENT_NODE_VERSION="$(node --version)"
if [[ "$CURRENT_NODE_VERSION" != "v$REQUIRED_NODE_VERSION" ]]; then
nvm install "$REQUIRED_NODE_VERSION"
start /wait nvm use "$REQUIRED_NODE_VERSION"
start //wait //b nvm install "$REQUIRED_NODE_VERSION"
start //wait //b nvm use "$REQUIRED_NODE_VERSION"
fi
fi