[shellcheck] properly quote arguments.
parent
24a9c089ff
commit
cbeb654692
4
nvm.sh
4
nvm.sh
|
@ -2195,10 +2195,10 @@ nvm() {
|
||||||
case "${PATTERN-}" in
|
case "${PATTERN-}" in
|
||||||
--) ;;
|
--) ;;
|
||||||
--lts)
|
--lts)
|
||||||
VERSION="$(nvm_match_version lts/*)"
|
VERSION="$(nvm_match_version "lts/*")"
|
||||||
;;
|
;;
|
||||||
--lts=*)
|
--lts=*)
|
||||||
VERSION="$(nvm_match_version lts/${PATTERN##--lts=})"
|
VERSION="$(nvm_match_version "lts/${PATTERN##--lts=}")"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
VERSION="$(nvm_version "${PATTERN}")"
|
VERSION="$(nvm_version "${PATTERN}")"
|
||||||
|
|
Loading…
Reference in New Issue