From fc30e0ade4a8786be73a564b6b82b072412e883d Mon Sep 17 00:00:00 2001 From: Avery Magnotti Date: Sat, 28 Oct 2017 20:30:28 -0400 Subject: [PATCH] Make `nvm cache clear` message less ambiguous --- nvm.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvm.sh b/nvm.sh index 792cb30..99b47cd 100644 --- a/nvm.sh +++ b/nvm.sh @@ -2363,9 +2363,9 @@ nvm() { local DIR DIR="$(nvm_cache_dir)" if command rm -rf "${DIR}" && command mkdir -p "${DIR}"; then - nvm_echo 'Cache cleared.' + nvm_echo 'nvm cache cleared.' else - nvm_err "Unable to clear cache: ${DIR}" + nvm_err "Unable to clear nvm cache: ${DIR}" return 1 fi ;; @@ -3346,7 +3346,7 @@ nvm() { ;; "clear-cache" ) command rm -f "$NVM_DIR/v*" "$(nvm_version_dir)" 2>/dev/null - nvm_echo 'Cache cleared.' + nvm_echo 'nvm cache cleared.' ;; "version" ) nvm_version "${1}"