From 73ff5d58831161aa73fbe21e8600c509d63bda8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Tue, 1 Oct 2019 16:12:48 +0200 Subject: Normalize `bundle outdated --verbose` option handling `--parseable` checks `Bundler.ui.debug?` instead of look at the option directly. --- lib/bundler/cli/outdated.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb index 7f66eaae74..5599017e98 100644 --- a/lib/bundler/cli/outdated.rb +++ b/lib/bundler/cli/outdated.rb @@ -210,7 +210,7 @@ module Bundler dependency = dependency.requirement if dependency ret_val = [active_spec.name, current_version, spec_version, dependency.to_s, groups.to_s] - ret_val << active_spec.loaded_from.to_s if options[:verbose] + ret_val << active_spec.loaded_from.to_s if Bundler.ui.debug? ret_val end @@ -280,7 +280,7 @@ module Bundler def table_header header = ["Gem", "Locked", "Latest", "Requested", "Groups"] - header << "Path" if options[:verbose] + header << "Path" if Bundler.ui.debug? header end -- cgit v1.2.1