Make nvm_resolve_local_alias not return N/A - that should be done as shallowly as possible.

This commit is contained in:
Jordan Harband
2015-03-14 10:55:31 -07:00
parent 230b479648
commit 2b63f37f8d
2 changed files with 1 additions and 2 deletions

1
nvm.sh
View File

@@ -478,7 +478,6 @@ nvm_resolve_local_alias() {
VERSION="$(nvm_resolve_alias "$1")"
EXIT_CODE=$?
if [ -z "$VERSION" ]; then
echo "N/A"
return $EXIT_CODE
fi
if [ "_$VERSION" != "_∞" ]; then