aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-11-23 11:03:10 +0000
committerMike McQuaid2016-11-23 11:03:10 +0000
commit1980af52deb5629c9f605017c6261a94f9e2b3e7 (patch)
treea50e10817754e3e0aefca4febacb5691dce0fd6b /Library/Homebrew/dev-cmd
parentc3f959d6af36f075600aac63f208d59c30cd602c (diff)
downloadbrew-1980af52deb5629c9f605017c6261a94f9e2b3e7.tar.bz2
audit: allow deprecated options on new @ formulae.
As these may be migrations from another tap where we want to migrate options across correctly.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 037f5abbb..ee03c01ac 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