mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 17:25:51 +08: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 @@
|
||||
cleanup () {
|
||||
rm -rf "${NVM_DIR}/v0.1.2/node"
|
||||
}
|
||||
die () { echo $@ ; exit 1; }
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
mkdir "${NVM_DIR}/v0.1.2"
|
||||
touch "${NVM_DIR}/v0.1.2/node"
|
||||
|
||||
Reference in New Issue
Block a user