mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-02-06 01:42:49 +08:00
Merge 996ae54fde into 99352a64d2
This commit is contained in:
@@ -106,7 +106,7 @@ nvm_node_version() {
|
||||
|
||||
nvm_download() {
|
||||
if nvm_has "curl"; then
|
||||
curl --fail --compressed -q "$@"
|
||||
command curl --fail --compressed -q "$@"
|
||||
elif nvm_has "wget"; then
|
||||
# Emulate curl with wget
|
||||
ARGS=$(nvm_echo "$@" | command sed -e 's/--progress-bar /--progress=bar /' \
|
||||
|
||||
Reference in New Issue
Block a user