mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Don't forward arguments to nvh.sh
This commit is contained in:
parent
5189915980
commit
e1f3cd638f
@ -234,13 +234,13 @@ trap cleanup EXIT
|
|||||||
# Use a consistent version of Node if possible.
|
# Use a consistent version of Node if possible.
|
||||||
if [[ -z "$(command -v nvm)" ]]; then
|
if [[ -z "$(command -v nvm)" ]]; then
|
||||||
if [ -f "$NVM_DIR/nvm.sh" ]; then
|
if [ -f "$NVM_DIR/nvm.sh" ]; then
|
||||||
. "$NVM_DIR/nvm.sh" || true
|
. "$NVM_DIR/nvm.sh" '' || true
|
||||||
elif [ -x "$(command -v brew)" ] && [ -f "$(brew --prefix nvm)/nvm.sh" ]; then
|
elif [ -x "$(command -v brew)" ] && [ -f "$(brew --prefix nvm)/nvm.sh" ]; then
|
||||||
# we must be on mac and nvm was installed with brew
|
# we must be on mac and nvm was installed with brew
|
||||||
# TODO: change the mac slaves to use manual nvm installation
|
# TODO: change the mac slaves to use manual nvm installation
|
||||||
. "$(brew --prefix nvm)/nvm.sh" || true
|
. "$(brew --prefix nvm)/nvm.sh" '' || true
|
||||||
elif [ -f "$HOME/.nvm/nvm.sh" ]; then
|
elif [ -f "$HOME/.nvm/nvm.sh" ]; then
|
||||||
. ~/.nvm/nvm.sh
|
. ~/.nvm/nvm.sh ''
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$(command -v nvm)" ]]; then
|
if [[ "$(command -v nvm)" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user