This commit is contained in:
sthaha 2014-08-22 07:48:38 +00:00
commit eafdd734f6

2
nvm.sh
View File

@ -201,7 +201,7 @@ nvm_binary_available() {
nvm_ls_current() {
local NODE_PATH
NODE_PATH="$(which node)"
NODE_PATH="$(which node 2>/dev/null)"
if [ $? -ne 0 ]; then
echo 'none'
elif nvm_tree_contains_path "$NVM_DIR" "$NODE_PATH"; then