diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 81ae3b5026..7f0fce60d5 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -663,7 +663,7 @@ module Homebrew problem "Formulae in homebrew/core should not have a `devel` spec" if formula.devel if formula.head && @versioned_formula - head_spec_message = "Formulae should not have a `HEAD` spec" + head_spec_message = "Versioned formulae should not have a `HEAD` spec" problem head_spec_message unless VERSIONED_HEAD_SPEC_ALLOWLIST.include?(formula.name) end