This commit is contained in:
sthaha 2014-07-25 09:42:09 +00:00
commit 6eb8a6070b

2
nvm.sh
View File

@ -161,7 +161,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