Put node versions >= 0.12 in versions/node instead of just versions

This commit is contained in:
Jordan Harband
2015-01-14 12:23:06 -08:00
parent d5e21be164
commit 0ad5a450fe
6 changed files with 6 additions and 6 deletions

2
nvm.sh
View File

@@ -143,7 +143,7 @@ nvm_version_dir() {
local NVM_WHICH_DIR
NVM_WHICH_DIR="$1"
if [ -z "$NVM_WHICH_DIR" ] || [ "_$NVM_WHICH_DIR" = "_new" ]; then
echo "$NVM_DIR/versions"
echo "$NVM_DIR/versions/node"
elif [ "_$NVM_WHICH_DIR" = "_old" ]; then
echo "$NVM_DIR"
else