audit: allow deprecated options on new @ formulae.

As these may be migrations from another tap where we want to migrate
options across correctly.
This commit is contained in:
Mike McQuaid 2016-11-23 11:03:10 +00:00
parent c3f959d6af
commit 1980af52de

View File

@ -461,6 +461,7 @@ class FormulaAuditor
return unless @new_formula
return if formula.deprecated_options.empty?
return if formula.name.include?("@")
problem "New formulae should not use `deprecated_option`."
end