Skip to content
Snippets Groups Projects
Commit 715caea7 authored by Uladzislau Shablinski's avatar Uladzislau Shablinski
Browse files

cmd/list: follow aliases

Closes #1514
parent 82aace98
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ module Homebrew ...@@ -107,7 +107,7 @@ module Homebrew
names = if ARGV.named.empty? names = if ARGV.named.empty?
Formula.racks Formula.racks
else else
racks = ARGV.named.map { |n| HOMEBREW_CELLAR+n } racks = ARGV.named.map { |n| Formulary.to_rack(n) }
racks.select do |rack| racks.select do |rack|
Homebrew.failed = true unless rack.exist? Homebrew.failed = true unless rack.exist?
rack.exist? rack.exist?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment