Skip to content
Myr

Fixes #487.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 273f9d4 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:nvm.sh+1 added-1 removed
199 unmodified lines
200}201202nvm_ls_current() {203 local NODE_PATH204 NODE_PATH="$(which node)"204 NODE_PATH="$(which node 2> /dev/null)"205 if [ $? -ne 0 ]; then206 echo 'none'207 elif nvm_tree_contains_path "$NVM_DIR" "$NODE_PATH"; then208 echo `node -v 2>/dev/null`
603 unmodified lines