mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-09 15:39:04 +00:00
Attempt to fix #829.
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user