fix for .nvmrc script

This commit is contained in:
SrHuevo
2018-05-30 09:02:29 +02:00
committed by GitHub
parent e7b53a01fd
commit d08d8607f5

View File

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