[Fix] install: Add missing io.js installation message

Fixes #1988
This commit is contained in:
Peter Dave Hello
2019-01-22 15:46:29 +08:00
committed by Jordan Harband
parent 7e715d5c73
commit cc0750eb5d
2 changed files with 7 additions and 1 deletions

2
nvm.sh
View File

@@ -1721,6 +1721,8 @@ nvm_install_binary() {
local NODE_OR_IOJS
if [ "${FLAVOR}" = 'node' ]; then
NODE_OR_IOJS="${FLAVOR}"
elif [ "${FLAVOR}" = 'iojs' ]; then
NODE_OR_IOJS="io.js"
fi
if [ "${NVM_NO_PROGRESS-}" = "1" ]; then
# --silent, --show-error, use short option as @samrocketman mentions the compatibility issue.