[Tests] add some basic nvm use --lts tests

This commit is contained in:
Jordan Harband
2016-07-03 08:37:03 -07:00
parent 4c010f442e
commit 42fedf6bc9
5 changed files with 61 additions and 4 deletions

2
nvm.sh
View File

@@ -610,7 +610,7 @@ nvm_resolve_alias() {
local SEEN_ALIASES
SEEN_ALIASES="$ALIAS"
while true; do
ALIAS_TEMP="$(nvm_alias "$ALIAS" 2> /dev/null)"
ALIAS_TEMP="$(nvm_alias "$ALIAS" 2> /dev/null || echo)"
if [ -z "$ALIAS_TEMP" ]; then
break