audit.rb: Check version strings by default

Tired of telling people that version numbers are redundant. Just check it by
default since the `--strict` flag to `brew audit` is not well advertised.
This commit is contained in:
Charlie Sharpsteen 2011-11-21 09:00:34 -08:00
parent 92faeb79b2
commit 31eba09830

View File

@ -308,7 +308,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) if strict?
problems += audit_formula_version(f, text_without_patch)
unless problems.empty?
errors = true