From d81b898117ae8b3fe3e68a43883aaae4bbc47ece Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 22 Apr 2021 13:57:28 +0100 Subject: [PATCH] utils/curl: tweak style. --- Library/Homebrew/utils/curl.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index efdf3af110..eafc5ae81f 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -168,9 +168,8 @@ module Utils details[:headers].match?(/^Set-Cookie: incap_ses_/i) end - def curl_check_http_content( - url, url_type, specs: {}, user_agents: [:default], check_content: false, strict: false - ) + def curl_check_http_content(url, url_type, specs: {}, user_agents: [:default], + check_content: false, strict: false) return unless url.start_with? "http" secure_url = url.sub(/\Ahttp:/, "https:")