diff options
| author | Martin Schimandl | 2017-12-03 14:02:55 +0100 |
|---|---|---|
| committer | Martin Schimandl | 2017-12-03 14:02:55 +0100 |
| commit | 0db069602ec160736e150064894b5e33fefa2373 (patch) | |
| tree | 06e3fdea879947aa3b6c589213707bddfaf45fcf /Library/Homebrew/cask/lib | |
| parent | 5ed5e500e5680bb2276320070ce685f04df33c55 (diff) | |
| download | brew-0db069602ec160736e150064894b5e33fefa2373.tar.bz2 | |
Refactor: Move FormulaAudit.check_http_content to utils/curl
Diffstat (limited to 'Library/Homebrew/cask/lib')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/audit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/audit.rb b/Library/Homebrew/cask/lib/hbc/audit.rb index 6c0dbab3c..274a01ae2 100644 --- a/Library/Homebrew/cask/lib/hbc/audit.rb +++ b/Library/Homebrew/cask/lib/hbc/audit.rb @@ -2,7 +2,7 @@ require "hbc/checkable" require "hbc/download" require "digest" require "utils/git" -require "dev-cmd/audit" +require "utils/curl" module Hbc class Audit @@ -284,7 +284,7 @@ module Hbc end def check_url_for_https_availability(url_to_check) - problem = FormulaAuditor.check_http_content(url_to_check.to_s) + problem = curl_check_http_content(url_to_check.to_s) add_error problem unless problem.nil? end |
