diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 1a4bb24a11dbfb132b8d4e6e69c5ee1f24dbe679..5f4eda08e2c1b2c3ca776c9c7b404fc78e7c773c 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -476,7 +476,7 @@ class FormulaAuditor end if @@aliases.include?(dep.name) && - (core_formula? || !dep_f.versioned_formula?) + (dep_f.core_formula? || !dep_f.versioned_formula?) problem "Dependency '#{dep.name}' is an alias; use the canonical name '#{dep.to_formula.full_name}'." end