diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-27 12:26:20 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-12 16:46:30 +0200 |
commit | 78ae7d9ee81cf43257ff9f8e75c05b00f7c80196 (patch) | |
tree | cd8dd91dd3b18497411f11563de254acdb51c7d8 /lib/bundler/cli | |
parent | 17e71ea01291b2f9ee2417c31bbe95efb9602767 (diff) | |
download | bundler-78ae7d9ee81cf43257ff9f8e75c05b00f7c80196.tar.gz |
Remove outdated header
I don't think it adds much to the output?
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/outdated.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb index e97501d692..fd0ec5a3a3 100644 --- a/lib/bundler/cli/outdated.rb +++ b/lib/bundler/cli/outdated.rb @@ -98,10 +98,6 @@ module Bundler if outdated_gems.empty? display_nothing_outdated_message else - unless options[:parseable] - Bundler.ui.info(header_outdated_message) - end - if options_include_groups outdated_gems.group_by {|g| g[:groups] }.sort.each do |groups, gems| contains_group = groups.split(", ").include?(options[:group]) @@ -139,14 +135,6 @@ module Bundler "#{group_text}#{groups.split(",").size > 1 ? "s" : ""} \"#{groups}\"" end - def header_outdated_message - if options[:pre] - "Outdated gems included in the bundle (including pre-releases):" - else - "Outdated gems included in the bundle:" - end - end - def header_group_message(groups) if groups.empty? "===== Without group =====" |