aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-03-05 15:30:16 +0100
committerGitHub2017-03-05 15:30:16 +0100
commitdbf3630a5326be7d0c5dc5f05b604b77cafd5488 (patch)
tree09e13a542443deb625b6f3255942f127c0c40de0 /Library/Homebrew/dev-cmd
parenta1da909deaf13f94f83f5885693457898d6d49e1 (diff)
parente26cf3a83f5b955c7d004a5c4e8f2668bbf097de (diff)
downloadbrew-dbf3630a5326be7d0c5dc5f05b604b77cafd5488.tar.bz2
Merge pull request #2262 from MikeMcQuaid/subversion-https-audit
Don't check Subversion HTTPS pre-Sierra.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 3a4e39578..d18e3b821 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -679,8 +679,6 @@ class FormulaAuditor
return unless @online
- # The system Curl is too old and unreliable with HTTPS homepages on
- # Yosemite and below.
return unless DevelopmentTools.curl_handles_most_https_homepages?
if http_content_problem = FormulaAuditor.check_http_content(homepage,
user_agents: [:browser, :default])
@@ -1573,6 +1571,7 @@ class ResourceAuditor
problem "The URL #{url} is not a valid git URL"
end
elsif strategy <= SubversionDownloadStrategy
+ next unless DevelopmentTools.subversion_handles_most_https_certificates?
unless Utils.svn_remote_exists url
problem "The URL #{url} is not a valid svn URL"
end