Merge pull request #1551 from MikeMcQuaid/audit-deprecation-option-new-formulae

audit: allow deprecated options on new @ formulae.
This commit is contained in:
Mike McQuaid 2016-11-23 11:28:02 +00:00 committed by GitHub
commit f73b4eafcf

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