mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-07-18 21:08:23 +08:00
[Tests] die() in tests should quote "$@" for echo
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -ex
|
||||
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
|
||||
cleanup() {
|
||||
unset -f nvm_download nvm_ls_remote nvm_ls_remote_iojs
|
||||
|
||||
Reference in New Issue
Block a user