aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib
diff options
context:
space:
mode:
authorMartin Schimandl2017-10-14 17:47:08 +0200
committerMartin Schimandl2017-12-03 11:37:18 +0100
commitb2abc0b3ab918f9631a4bfaefba3a5091d5b0717 (patch)
tree889f1331d3f7b85e5e4bdb69e5bf0de8cc464c87 /Library/Homebrew/cask/lib
parente363889d27bb7fddaea513fb733c3c050d3af144 (diff)
downloadbrew-b2abc0b3ab918f9631a4bfaefba3a5091d5b0717.tar.bz2
Add --head to curl to speedup audit
Diffstat (limited to 'Library/Homebrew/cask/lib')
-rw-r--r--Library/Homebrew/cask/lib/hbc/audit.rb2
1 files changed, 1 insertions, 1 deletions
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
)