[Fix] bypass aliased curl

Closes #2932
This commit is contained in:
ryenus authored and Jordan Harband committed 2023-01-10 15:32:47 +08:00
1 parent 9142a92cdc
commit 0c1243a7ea
3 files changed
+14 -2

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ nvm_node_version() {
nvm_download() {
if nvm_has_executable "curl"; then
curl --fail --compressed -q "$@"
command curl --fail --compressed -q "$@"
elif nvm_has_executable "wget"; then
# Emulate curl with wget
ARGS=$(nvm_echo "$@" | command sed -e 's/--progress-bar /--progress=bar /' \