mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
cli/args: fix formulae_paths.
The `Pathname`s don't have `name`s to `uniq`.
This commit is contained in:
parent
863f38eb24
commit
bff0a90b37
@ -102,7 +102,7 @@ module Homebrew
|
|||||||
def formulae_paths
|
def formulae_paths
|
||||||
@formulae_paths ||= (downcased_unique_named - casks).map do |name|
|
@formulae_paths ||= (downcased_unique_named - casks).map do |name|
|
||||||
Formulary.path(name)
|
Formulary.path(name)
|
||||||
end.uniq(&:name)
|
end.uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
def casks
|
def casks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user