From 4b6318b2ad9702c04494fec5b360df5a4aee1fa1 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Tue, 8 Sep 2020 22:31:35 +0200 Subject: [PATCH] curl: allow passing print_stdout parameter --- 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 f424a2b4b8..274dc6f201 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