diff options
| author | Jack Nagel | 2012-08-27 21:17:39 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-27 22:59:29 -0500 |
| commit | df45f8fd099f2984a57ebacf7c112e5c967170d5 (patch) | |
| tree | b3305ac0a871f75f6c7bb479379d399414372636 /Library/Homebrew/cmd | |
| parent | dc68752d3df8716f24a0b5feb1f728924ee0656d (diff) | |
| download | brew-df45f8fd099f2984a57ebacf7c112e5c967170d5.tar.bz2 | |
audit: Formula#deps returns Dependency objects
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 90fc7ceb3..18382de59 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -122,7 +122,7 @@ class FormulaAuditor # Don't depend_on aliases; use full name aliases = Formula.aliases - f.deps.select {|d| aliases.include? d}.each do |d| + f.deps.select { |d| aliases.include? d.name }.each do |d| problem "Dependency #{d} is an alias; use the canonical name." end |
