[Fix] avoid unbound variable

Fixes #1949.
Jordan Harband 2018-11-21 21:25:20 -06:00
parent 17586b971a
commit a49d9163ef
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -3419,7 +3419,7 @@ nvm() {
esac
shift
done
case "${PATTERN}" in
case "${PATTERN-}" in
'lts/*')
NVM_LTS='*'
unset PATTERN