diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index d15e09b82e046efcc2fb5c29c3c5cc080e12fcfa..43f5a51a23aaf9102822e12cb63f2aecd1917d19 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -1,4 +1,5 @@ require 'cmd/install' +require 'cmd/outdated' class Fixnum def plural_s @@ -11,7 +12,6 @@ module Homebrew extend self Homebrew.perform_preinstall_checks if ARGV.named.empty? - require 'cmd/outdated' outdated = Homebrew.outdated_brews else outdated = ARGV.formulae.select do |f|