diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index e4ff85db0b..5a69bc751c 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -120,11 +120,13 @@ module Homebrew end def audit_formula_name + name = formula.name + + problem "Formula name '#{name}' must not contain uppercase letters." if name != name.downcase + return unless @strict return unless @core_tap - name = formula.name - problem "'#{name}' is not allowed in homebrew/core." if MissingFormula.disallowed_reason(name) if Formula.aliases.include? name