cli/args: fix formulae_paths.

The `Pathname`s don't have `name`s to `uniq`.
This commit is contained in:
Mike McQuaid 2020-04-15 16:27:22 +01:00
parent 863f38eb24
commit bff0a90b37
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -102,7 +102,7 @@ module Homebrew
def formulae_paths
@formulae_paths ||= (downcased_unique_named - casks).map do |name|
Formulary.path(name)
end.uniq(&:name)
end.uniq
end
def casks