Attempt to fix #829.

Jordan Harband 2015-09-19 13:37:08 +09:00
parent 151efc32f5
commit 9e389eb9fe
1 changed files with 3 additions and 0 deletions

3
nvm.sh
View File

@ -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