From 1980af52deb5629c9f605017c6261a94f9e2b3e7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 23 Nov 2016 11:03:10 +0000 Subject: [PATCH] audit: allow deprecated options on new @ formulae. As these may be migrations from another tap where we want to migrate options across correctly. --- Library/Homebrew/dev-cmd/audit.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 037f5abbb6..ee03c01acc 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -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