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

committed by
Jordan Harband

parent
24f8ae5c46
commit
f7763c8ba9
@@ -7,7 +7,7 @@ set -ex
|
||||
|
||||
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||||
|
||||
die () { echo $@ ; exit 1; }
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
||||
|
||||
|
Reference in New Issue
Block a user