From c50f7b8951343d41e5fc8c0f6c4422566f43e40d Mon Sep 17 00:00:00 2001 From: lionellloh Date: Tue, 30 Jun 2020 01:13:02 +0800 Subject: [PATCH] Revert "curl: modified curl to allow optional print_stdout" This reverts commit 02bc870e915f88145761b11d2065d8f2964c50ba. --- Library/Homebrew/utils/curl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index 09948e6a45..7503e16822 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -44,12 +44,12 @@ def curl_args(*extra_args, show_output: false, user_agent: :default) args + extra_args 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 # with SSL downloads so unset it here. system_command! curl_executable, args: curl_args(*args, **options), - print_stdout: print_stdout, + print_stdout: true, env: { "SSL_CERT_FILE" => nil }, secrets: secrets end