audit: make version checks strict only

This commit is contained in:
Adam Vandenberg 2011-07-29 08:34:00 -07:00
parent 76745610ec
commit 8c50cb54c0

View File

@ -295,7 +295,7 @@ module Homebrew extend self
problems += audit_formula_text(f.name, 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?
errors = true