Merge pull request #4742 from commitay/remove-undefined-bottle

audit: remove "`bottle` is not defined"
This commit is contained in:
Mike McQuaid 2018-08-23 16:36:05 +01:00 committed by GitHub
commit 35eb03de9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,15 +511,6 @@ module Homebrew
end
end
def audit_bottle_spec
return unless @official_tap
return if @new_formula
return unless @online
return if formula.bottle_defined? || formula.bottle_disabled?
return if formula.name == "testbottest"
problem "`bottle` is not defined"
end
def audit_github_repository
return unless @online
return unless @new_formula