cli/args: cleanup weird style.

This got autofixed by RuboCop but looks weird.
This commit is contained in:
Mike McQuaid 2020-05-07 10:02:34 +01:00
parent 954c833de2
commit 85a9fc4abe
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -79,8 +79,7 @@ module Homebrew
else
Formulary.find_with_priority(name, spec)
end
end.uniq(&:name)
.freeze
end.uniq(&:name).freeze
end
def resolved_formulae
@ -88,15 +87,13 @@ module Homebrew
@resolved_formulae ||= (downcased_unique_named - casks).map do |name|
Formulary.resolve(name, spec: spec(nil))
end.uniq(&:name)
.freeze
end.uniq(&:name).freeze
end
def formulae_paths
@formulae_paths ||= (downcased_unique_named - casks).map do |name|
Formulary.path(name)
end.uniq
.freeze
end.uniq.freeze
end
def casks