Fix nvm ls-remote and display uninstalled versions again. Fixes #359, closes #360

master
Jordan Harband 2014-02-16 09:35:05 -08:00
parent 13781f242b
commit 274652e10e
1 changed files with 2 additions and 0 deletions

2
nvm.sh
View File

@ -144,6 +144,8 @@ print_versions() {
local PADDED_VERSION=`printf '%10s' $VERSION`
if [[ -d "$NVM_DIR/$VERSION" ]]; then
colorize_version "$PADDED_VERSION"
else
echo "$PADDED_VERSION"
fi
done
}