This commit is contained in:
GitHub Merge Button
2012-02-20 06:40:20 -08:00

3
nvm.sh
View File

@@ -38,7 +38,8 @@ nvm_ls()
PATTERN=$1
VERSIONS=''
if [ "$PATTERN" = 'current' ]; then
VERSION=`node -v 2>/dev/null`
echo `node -v 2>/dev/null`
return
fi
if [ -f "$NVM_DIR/alias/$PATTERN" ]; then