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

committed by
Jordan Harband

parent
24f8ae5c46
commit
f7763c8ba9
@@ -3,7 +3,7 @@
|
||||
cleanup () {
|
||||
unset -f safe_type die cleanup
|
||||
}
|
||||
die () { echo $@ ; cleanup ; exit 1; }
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
|
||||
safe_type() {
|
||||
type "$1"
|
||||
|
Reference in New Issue
Block a user