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:
parent
c3f959d6af
commit
1980af52de
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user