mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-20 04:23:43 +00:00
[Fix] nvm_download
: ensure all args are quoted
This commit is contained in:
parent
c31a867c46
commit
4792d122b1
@ -15,4 +15,6 @@ if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install
|
|||||||
die "nvm_download should fail to download no existing file"
|
die "nvm_download should fail to download no existing file"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" -o "; die quoted-command-not-quoted"
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user