This commit is contained in:
Marcin Jekot 2014-05-20 17:40:01 +00:00
commit 66e9e9a799

2
nvm.sh
View File

@ -117,7 +117,7 @@ nvm_binary_available() {
} }
nvm_ls() { nvm_ls() {
local PATTERN=$1 local PATTERN=${1:-v}
local VERSIONS='' local VERSIONS=''
if [ "$PATTERN" = 'current' ]; then if [ "$PATTERN" = 'current' ]; then
echo `node -v 2>/dev/null` echo `node -v 2>/dev/null`