diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index c828b8197..492291ab9 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -127,7 +127,8 @@ class FormulaAuditor # Don't depend_on aliases; use full name @@aliases ||= Formula.aliases f.deps.select { |d| @@aliases.include? d.name }.each do |d| - problem "Dependency #{d} is an alias; use the canonical name." + real_name = d.to_formula.name + problem "Dependency '#{d}' is an alias; use the canonical name '#{real_name}'." end # Check for things we don't like to depend on. |
