From 33c74fea6e9dde8219d822b12b8f0b91fb37e282 Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Mon, 19 Apr 2021 10:37:19 -0700 Subject: [PATCH] Fix linter --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 7900f8d..9a73478 100644 --- a/nvm.sh +++ b/nvm.sh @@ -3971,7 +3971,7 @@ nvm() { # so, unalias it. nvm unalias "${ALIAS}" return $? - elif echo $ALIAS | grep -q "#"; then + elif echo "$ALIAS" | grep -q "#"; then nvm_err "Aliases may not have a # inside it" exit 1 elif [ "${TARGET}" != '--' ]; then