audit: don't complain about bottle versions.

`brew bottle` already complains and this is a niche case.

References Homebrew/homebrew#21374.
This commit is contained in:
Mike McQuaid 2013-07-28 16:22:04 -07:00
parent 325db99a3c
commit b072da141f

View File

@ -282,9 +282,6 @@ class FormulaAuditor
if version_url.to_s == version_text.to_s && s.version.instance_of?(Version)
problem "#{spec} version #{version_text} is redundant with version scanned from URL"
end
if bottle_filename_formula_name(bottle_filename(f)).empty?
problem "Add a new version regex to version.rb to parse the bottle filename."
end
end
if s.version.to_s =~ /^v/