From 909312f9a433cb8c1f8089bb6467d585ab9e2bb9 Mon Sep 17 00:00:00 2001 From: commitay Date: Sat, 14 Apr 2018 19:24:07 +1000 Subject: [PATCH] audit: new formulae should not have a HEAD spec --- Library/Homebrew/dev-cmd/audit.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 22b3f5bf01..ddd07a0ecd 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -534,6 +534,10 @@ class FormulaAuditor end end + if @new_formula && formula.head + problem "New formulae should not have a HEAD spec" + end + unstable_whitelist = %w[ aalib 1.4rc5 angolmois 2.0.0alpha2