diff --git a/Library/Homebrew/bintray.rb b/Library/Homebrew/bintray.rb index 26b9583184591a534dade6cd7ffb2d7e0e08fc57..bb76749a2f7e3706748f024c3d0812e95c0856e6 100644 --- a/Library/Homebrew/bintray.rb +++ b/Library/Homebrew/bintray.rb @@ -37,8 +37,8 @@ class Bintray end curl(*args, url, - show_output: verbose?, - secrets: key) + print_stdout: false, + secrets: key) end def upload(local_file, repo:, package:, version:, remote_file:, sha256: nil) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index f424a2b4b8a331144cff7989d1f480480b6aecf1..274dc6f201a8ce2a916996c98a880feeb8137760 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -81,8 +81,8 @@ def curl_with_workarounds(*args, secrets: nil, print_stdout: nil, print_stderr: result end -def curl(*args, **options) - result = curl_with_workarounds(*args, print_stdout: true, **options) +def curl(*args, print_stdout: true, **options) + result = curl_with_workarounds(*args, print_stdout: print_stdout, **options) result.assert_success! result end