Fix brew style warnings

This commit is contained in:
richiethomas 2017-10-18 18:27:42 -04:00
parent e5e84eec7d
commit b135a70c57
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ module Homebrew
filtered_list filtered_list
elsif ARGV.named.empty? elsif ARGV.named.empty?
if ARGV.include? "--full-name" if ARGV.include? "--full-name"
full_names = Formula.installed.map(&:full_name).sort &tap_and_name_comparison full_names = Formula.installed.map(&:full_name).sort(&tap_and_name_comparison)
return if full_names.empty? return if full_names.empty?
puts Formatter.columns(full_names) puts Formatter.columns(full_names)
else else