mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge a49f77135a
into 1eaf6e2db7
This commit is contained in:
commit
5eabb65396
3
nvm.sh
3
nvm.sh
@ -38,7 +38,8 @@ nvm_ls()
|
|||||||
PATTERN=$1
|
PATTERN=$1
|
||||||
VERSIONS=''
|
VERSIONS=''
|
||||||
if [ "$PATTERN" = 'current' ]; then
|
if [ "$PATTERN" = 'current' ]; then
|
||||||
VERSION=`node -v 2>/dev/null`
|
echo `node -v 2>/dev/null`
|
||||||
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$NVM_DIR/alias/$PATTERN" ]; then
|
if [ -f "$NVM_DIR/alias/$PATTERN" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user