Make sure nvm run works without a version argument when .nvmrc specifies a version.

This commit is contained in:
Jordan Harband
2014-04-20 00:28:07 -07:00
parent 4cf940153c
commit 20953ab04c
5 changed files with 68 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
. ../../../nvm.sh
nvm uninstall v0.10.7
rm .nvmrc
if [ -f ".nvmrc.bak" ]; then
mv .nvmrc.bak .nvmrc
fi