[Tests] die() in tests should quote "$@" for echo

This commit is contained in:
Peter Dave Hello authored and Jordan Harband committed 2016-11-07 03:34:36 +08:00
1 parent 24f8ae5c46
commit f7763c8ba9
135 files changed
+135 -135

No files matched your search

@@ -5,7 +5,7 @@ set -ex
cleanup() {
unset -f nvm_has_system_node nvm_print_npm_version
}
die() { echo $@ ; cleanup ; exit 1; }
die() { echo "$@" ; cleanup ; exit 1; }
\. ../../nvm.sh