renaming var
This commit is contained in:
parent
4f6d04a3ae
commit
b2f5e72bf1
@ -5,10 +5,10 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
|
|
||||||
if [ -z $NODEJS_VERSION ]; then
|
if [ -z $NODEJS_VERSION ]; then
|
||||||
NODEJS_VERSION="10"
|
NODEJS_VERSION="10"
|
||||||
NODEJS_VERSION_LTS="--lts"
|
NODEJS_VERSION_OPTIONS="--lts"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nvm install $NODEJS_VERSION $NODEJS_VERSION_LTS
|
nvm install $NODEJS_VERSION $NODEJS_VERSION_OPTIONS
|
||||||
nvm alias default $NODEJS_VERSION
|
nvm alias default $NODEJS_VERSION
|
||||||
nvm use default
|
nvm use default
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user