From b2abc0b3ab918f9631a4bfaefba3a5091d5b0717 Mon Sep 17 00:00:00 2001 From: Martin Schimandl Date: Sat, 14 Oct 2017 17:47:08 +0200 Subject: Add --head to curl to speedup audit --- Library/Homebrew/cask/lib/hbc/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cask/lib/hbc/audit.rb b/Library/Homebrew/cask/lib/hbc/audit.rb index 8520f651f..8785fb01b 100644 --- a/Library/Homebrew/cask/lib/hbc/audit.rb +++ b/Library/Homebrew/cask/lib/hbc/audit.rb @@ -318,7 +318,7 @@ module Hbc curl_executable, *args = curl_args( "--compressed", "--location", "--fail", "--write-out", "%{http_code} %{url_effective}", - "--output", "/dev/null", + "--output", "/dev/null", "--head", url_to_access, user_agent: :fake ) -- cgit v1.2.3