Skip to content
Myr

[shellcheck] properly quote arguments.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 24a9c08 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:nvm.sh+2 added-2 removed
2193 unmodified lines
2194 PATTERN="${1-}"2195 case "${PATTERN-}" in2196 --) ;;2197 --lts)2198 VERSION="$(nvm_match_version lts/*)"2198 VERSION="$(nvm_match_version "lts/*")"2199 ;;2200 --lts=*)2201 VERSION="$(nvm_match_version lts/${PATTERN##--lts=})"2201 VERSION="$(nvm_match_version "lts/${PATTERN##--lts=}")"2202 ;;2203 *)2204 VERSION="$(nvm_version "${PATTERN}")"2205 ;;
770 unmodified lines