Revert "curl: modified curl to allow optional print_stdout"
This reverts commit 02bc870e915f88145761b11d2065d8f2964c50ba.
This commit is contained in:
parent
da2a426ec8
commit
c50f7b8951
@ -44,12 +44,12 @@ def curl_args(*extra_args, show_output: false, user_agent: :default)
|
|||||||
args + extra_args
|
args + extra_args
|
||||||
end
|
end
|
||||||
|
|
||||||
def curl(*args, print_stdout: true, secrets: [], **options)
|
def curl(*args, secrets: [], **options)
|
||||||
# SSL_CERT_FILE can be incorrectly set by users or portable-ruby and screw
|
# SSL_CERT_FILE can be incorrectly set by users or portable-ruby and screw
|
||||||
# with SSL downloads so unset it here.
|
# with SSL downloads so unset it here.
|
||||||
system_command! curl_executable,
|
system_command! curl_executable,
|
||||||
args: curl_args(*args, **options),
|
args: curl_args(*args, **options),
|
||||||
print_stdout: print_stdout,
|
print_stdout: true,
|
||||||
env: { "SSL_CERT_FILE" => nil },
|
env: { "SSL_CERT_FILE" => nil },
|
||||||
secrets: secrets
|
secrets: secrets
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user