aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorDavid Broder-Rodgers2016-12-12 21:18:22 +0000
committerDavid Broder-Rodgers2017-02-20 19:24:31 +0000
commitd3ac333197de4d2fcb560bf95e5cd4df81871bbd (patch)
treea70d2dfbdcdc7cd18a4b1d8b9c5c6f124be843fb /Library/Homebrew
parent3e7dfe4aaba2aa41d01f6fd06a9dd40298d118d3 (diff)
downloadbrew-d3ac333197de4d2fcb560bf95e5cd4df81871bbd.tar.bz2
Rubocop styling fixes
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 460302fb7..b323297e4 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -1491,8 +1491,8 @@ class ResourceAuditor
return unless @online
urls.each do |url|
if url.start_with? "http", "ftp"
- status_code, _, _ = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", \
- "--write-out", "%{http_code}", url
+ status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", \
+ "--write-out", "%{http_code}", url
unless status_code.start_with? "20"
problem "The URL #{url} is not reachable (HTTP status code #{status_code})"
end