summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEllen Marie Dash <me@duckie.co>2020-07-30 18:15:15 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-28 14:54:22 +0900
commit9bbca93aa8ba7cb6e19c9a807706ae6b5d988403 (patch)
tree5e7163e9d2402058bc9f7a9a1dbdedc20e2103ff /lib
parente8274a7683645082e96ced6a00d2df9ba10942ed (diff)
[rubygems/rubygems] Remove last remaining line of output from `gem update --system --silent`
https://github.com/rubygems/rubygems/commit/038203aaf8
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3599
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems/commands/update_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/update_command.rb b/lib/rubygems/commands/update_command.rb
index b7609ed7fe..fcc52c293e 100644
--- a/lib/rubygems/commands/update_command.rb
+++ b/lib/rubygems/commands/update_command.rb
@@ -244,7 +244,7 @@ command to remove old versions.
@installer = Gem::DependencyInstaller.new update_options
- say "Updating #{name}"
+ say "Updating #{name}" unless options[:system] && options[:silent]
begin
@installer.install name, Gem::Requirement.new(version)
rescue Gem::InstallError, Gem::DependencyError => e