Fix linter

This commit is contained in:
Yash Singh 2021-04-19 10:37:19 -07:00 committed by Yash-Singh1
parent f6bca73860
commit 33c74fea6e

2
nvm.sh
View File

@ -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