mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-10 08:39:07 +00:00
[Tests] die() in tests should quote "$@" for echo
This commit is contained in:

committed by
Jordan Harband

parent
24f8ae5c46
commit
f7763c8ba9
@@ -5,7 +5,7 @@ set -ex
|
||||
cleanup () {
|
||||
unset -f nvm_download nvm_get_checksum_alg nvm_get_mirror
|
||||
}
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
|
||||
set +e # TODO: fix
|
||||
\. ../../../nvm.sh
|
||||
|
Reference in New Issue
Block a user