audit: make version checks strict only
This commit is contained in:
parent
76745610ec
commit
8c50cb54c0
@ -295,7 +295,7 @@ module Homebrew extend self
|
|||||||
|
|
||||||
problems += audit_formula_text(f.name, text_without_patch)
|
problems += audit_formula_text(f.name, text_without_patch)
|
||||||
problems += audit_formula_options(f, text_without_patch)
|
problems += audit_formula_options(f, text_without_patch)
|
||||||
problems += audit_formula_version(f, text_without_patch)
|
problems += audit_formula_version(f, text_without_patch) if strict?
|
||||||
|
|
||||||
unless problems.empty?
|
unless problems.empty?
|
||||||
errors = true
|
errors = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user