mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 06:41:50 +00:00
Fix linter
This commit is contained in:
parent
f6bca73860
commit
33c74fea6e
2
nvm.sh
2
nvm.sh
@ -3971,7 +3971,7 @@ nvm() {
|
|||||||
# so, unalias it.
|
# so, unalias it.
|
||||||
nvm unalias "${ALIAS}"
|
nvm unalias "${ALIAS}"
|
||||||
return $?
|
return $?
|
||||||
elif echo $ALIAS | grep -q "#"; then
|
elif echo "$ALIAS" | grep -q "#"; then
|
||||||
nvm_err "Aliases may not have a # inside it"
|
nvm_err "Aliases may not have a # inside it"
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "${TARGET}" != '--' ]; then
|
elif [ "${TARGET}" != '--' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user