Attempt to fix #829.
parent
151efc32f5
commit
9e389eb9fe
3
nvm.sh
3
nvm.sh
|
@ -558,6 +558,9 @@ nvm_ls() {
|
||||||
PATTERN=$(nvm_ensure_version_prefix $PATTERN)
|
PATTERN=$(nvm_ensure_version_prefix $PATTERN)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
if [ "_$PATTERN" = "_N/A" ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
# If it looks like an explicit version, don't do anything funny
|
# If it looks like an explicit version, don't do anything funny
|
||||||
local NVM_PATTERN_STARTS_WITH_V
|
local NVM_PATTERN_STARTS_WITH_V
|
||||||
case $PATTERN in
|
case $PATTERN in
|
||||||
|
|
Loading…
Reference in New Issue