diff options
| author | Adam Vandenberg | 2013-08-14 21:30:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-14 21:35:46 -0700 |
| commit | 124ddce2627d7205191e095d28d695e69da6c378 (patch) | |
| tree | 0c01d409782293efd7bdd3b8a809b44920d41021 | |
| parent | ccbac62677c07ba3d9d26171cb9fed2e4446e417 (diff) | |
| download | brew-124ddce2627d7205191e095d28d695e69da6c378.tar.bz2 | |
audit: show real name for aliases
| -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. |
