master
Jordan Harband 2014-08-21 16:51:24 -07:00
parent 273f9d497a
commit 150aea21ec
1 changed files with 1 additions and 1 deletions

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