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

committed by
Jordan Harband

parent
24f8ae5c46
commit
f7763c8ba9
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
cleanup() {
|
||||
rm -rf "${NVM_DIR}/v0.2.3"
|
||||
rm -rf "${NVM_DIR}/v0.3.4"
|
||||
|
Reference in New Issue
Block a user