diff options
| author | Charlie Sharpsteen | 2011-11-21 09:00:34 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-11-21 09:00:34 -0800 |
| commit | 31eba09830b44cc08ec9a3856fcc9e1d66a8b7af (patch) | |
| tree | 087a9bdb1e05de48600343cd49eee8a4423a5fbc /Library | |
| parent | 92faeb79b23c8acdfc73cce0e50e5462865cad88 (diff) | |
| download | brew-31eba09830b44cc08ec9a3856fcc9e1d66a8b7af.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
