diff options
| author | David Broder-Rodgers | 2016-12-11 21:36:58 +0000 | 
|---|---|---|
| committer | David Broder-Rodgers | 2017-02-20 19:24:25 +0000 | 
| commit | 3e7dfe4aaba2aa41d01f6fd06a9dd40298d118d3 (patch) | |
| tree | a399ca8c6a2f5b991fd10fd80bed65e7a8a4bbc3 /Library/Homebrew | |
| parent | ed9f775b778bad961a9e2fb178fce3a7af201e75 (diff) | |
| download | brew-3e7dfe4aaba2aa41d01f6fd06a9dd40298d118d3.tar.bz2 | |
Updated mirror audit problem message
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 839d1c429..460302fb7 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1494,15 +1494,15 @@ class ResourceAuditor          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 mirror #{url} is not reachable (HTTP status code #{status_code})" +          problem "The URL #{url} is not reachable (HTTP status code #{status_code})"          end        elsif url.start_with? "git"          unless Utils.git_remote_exists url -          problem "The mirror #{url} is not a valid git URL" +          problem "The URL #{url} is not a valid git URL"          end        elsif url.start_with? "svn"          unless Utils.svn_remote_exists url -          problem "The mirror #{url} is not a valid svn URL" +          problem "The URL #{url} is not a valid svn URL"          end        end        check_insecure_mirror(url) if url.start_with? "http:"  | 
