mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
fix for .nvmrc script
This commit is contained in:
parent
e7b53a01fd
commit
d08d8607f5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user