Remove unused $ROOT variable.

master
Jordan Harband 2014-08-29 00:12:02 -07:00
parent 4b3d6f1760
commit 5ee955bb62
1 changed files with 0 additions and 2 deletions

2
nvm.sh
View File

@ -786,8 +786,6 @@ nvm() {
return 127 return 127
fi fi
VERSION=$(nvm_version "$2") VERSION=$(nvm_version "$2")
local ROOT
ROOT=$(nvm use $VERSION && npm -g root)
# declare local INSTALLS first, otherwise it doesn't work in zsh # declare local INSTALLS first, otherwise it doesn't work in zsh
local INSTALLS local INSTALLS