From 0f26656c2c1fd63a4e99b82457c97a6e3f4e74ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=28Sore=CE=BB=5Ca=29?= Date: Tue, 5 Jul 2016 20:34:08 -0300 Subject: [PATCH] npm -> nvm, and minor formatting issues --- nvm.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nvm.sh b/nvm.sh index a8952e9..6ca361a 100644 --- a/nvm.sh +++ b/nvm.sh @@ -256,15 +256,15 @@ nvm_ensure_version_installed() { if [ "_$EXIT_CODE" != "_0" ] || ! nvm_is_version_installed "$LOCAL_VERSION"; then VERSION="$(nvm_resolve_alias "$PROVIDED_VERSION")" if [ $? -eq 0 ]; then - nvm_err "N/A: version \"$PROVIDED_VERSION -> $VERSION\" is not yet installed. - -You need to run \"npm install $PROVIDED_VERSION\" to install it before using it." + nvm_err "N/A: version \"$PROVIDED_VERSION -> $VERSION\" is not yet installed." + nvm_err "" + nvm_err "You need to run \"nvm install $PROVIDED_VERSION\" to install it before using it." else local PREFIXED_VERSION PREFIXED_VERSION="$(nvm_ensure_version_prefix "$PROVIDED_VERSION")" - nvm_err "N/A: version \"${PREFIXED_VERSION:-$PROVIDED_VERSION}\" is not yet installed. - -You need to run \"npm install $PROVIDED_VERSION\" to install it before using it." + nvm_err "N/A: version \"${PREFIXED_VERSION:-$PROVIDED_VERSION}\" is not yet installed." + nvm_err "" + nvm_err "You need to run \"nvm install $PROVIDED_VERSION\" to install it before using it." fi return 1 fi