From a49d9163ef11d3f980825935f0d095fce8a9dafb Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 21 Nov 2018 21:25:20 -0600 Subject: [PATCH] [Fix] avoid unbound variable Fixes #1949. --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 1b23698..8c94401 100644 --- a/nvm.sh +++ b/nvm.sh @@ -3419,7 +3419,7 @@ nvm() { esac shift done - case "${PATTERN}" in + case "${PATTERN-}" in 'lts/*') NVM_LTS='*' unset PATTERN