Adjust alignment of select and sort.

This commit is contained in:
Douglas F Shearer 2018-05-16 13:41:40 +01:00
parent 18b362aa96
commit c808424499

View File

@ -41,9 +41,8 @@ module Homebrew
verbose = ($stdout.tty? || ARGV.verbose?) && !ARGV.flag?("--quiet")
fetch_head = ARGV.fetch_head?
outdated_formulae = formulae
.select { |f| f.outdated?(fetch_head: fetch_head) }
.sort
outdated_formulae = formulae.select { |f| f.outdated?(fetch_head: fetch_head) }
.sort
outdated_formulae.each do |f|
if verbose