diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index 6a4641670c..ad9d28c795 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -23,7 +23,7 @@ module Homebrew def bump args = bump_args.parse - requested_formulae = !args.formulae.empty? ? args.formulae.map(&:name) : nil + requested_formulae = args.formulae.map(&:name) if args.formulae.present? requested_limit = args.limit.to_i if args.limit.present?