From bff0a90b37e6cd227f85d92c113a6052048e0216 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 15 Apr 2020 16:27:22 +0100 Subject: [PATCH] cli/args: fix formulae_paths. The `Pathname`s don't have `name`s to `uniq`. --- Library/Homebrew/cli/args.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cli/args.rb b/Library/Homebrew/cli/args.rb index e57ddb0daf..88e6daaf06 100644 --- a/Library/Homebrew/cli/args.rb +++ b/Library/Homebrew/cli/args.rb @@ -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