Merge pull request #1823 from SrHuevo/master

fix for .nvmrc script
This commit is contained in:
Jordan Harband 2018-05-30 20:08:07 -04:00 committed by GitHub
commit ef35bc4cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,7 @@ load-nvmrc() {
if [ "$nvmrc_node_version" = "N/A" ]; then
nvm install
elif [ "$nvmrc_node_version" = "$node_version" ]; then
elif [ "$nvmrc_node_version" != "$node_version" ]; then
nvm use
fi
elif [ "$node_version" != "$(nvm version default)" ]; then