mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-31 01:45:50 +08:00
[Tests] die() in tests should quote "$@" for echo
This commit is contained in:
committed by
Jordan Harband
parent
24f8ae5c46
commit
f7763c8ba9
@@ -4,7 +4,7 @@ TEST_PWD=$(pwd)
|
||||
TEST_DIR="$TEST_PWD/nvm_ls_current_tmp"
|
||||
|
||||
cleanup() { rm -rf "$TEST_DIR"; unset -f return_zero; alias node='node' ; unalias node; }
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
|
||||
\. ../../../nvm.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user