Merge pull request #4496 from apjanke/audit-relax-non-core

audit: Relax versioning audits for non-official taps
This commit is contained in:
Mike McQuaid 2018-11-09 09:52:13 +00:00 committed by GitHub
commit a21f770a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,7 +310,7 @@ module Homebrew
problem "File should end with a newline" unless text.trailing_newline? problem "File should end with a newline" unless text.trailing_newline?
if @versioned_formula if formula.core_formula? && @versioned_formula
unversioned_formula = begin unversioned_formula = begin
# build this ourselves as we want e.g. homebrew/core to be present # build this ourselves as we want e.g. homebrew/core to be present
full_name = if formula.tap full_name = if formula.tap