From 31eba09830b44cc08ec9a3856fcc9e1d66a8b7af Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Mon, 21 Nov 2011 09:00:34 -0800 Subject: 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. --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index b9d67bac6..b18d5e6bf 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -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 -- cgit v1.2.3