summaryrefslogtreecommitdiff
path: root/lib/bundler/definition.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-06-09 19:37:24 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-15 07:01:23 +0900
commit4f1b1817a8f5f51f9e3687dac465dabfb112883b (patch)
tree45b4a04779e01d29aa7505f2e35a5c2aace9b81d /lib/bundler/definition.rb
parentc12168185e20b1b73a73d433425f2299221f2ddb (diff)
[rubygems/rubygems] There should always be a reason
https://github.com/rubygems/rubygems/commit/4180008c2d
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index cbd9012e3a..39b7d086f0 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -405,7 +405,7 @@ module Bundler
end
reason = change_reason
- msg << "\n\n#{reason.split(", ").map(&:capitalize).join("\n")}" unless reason.strip.empty?
+ msg << "\n\n#{reason.split(", ").map(&:capitalize).join("\n")}"
msg << "\n\nYou have added to the Gemfile:\n" << added.join("\n") if added.any?
msg << "\n\nYou have deleted from the Gemfile:\n" << deleted.join("\n") if deleted.any?
msg << "\n\nYou have changed in the Gemfile:\n" << changed.join("\n") if changed.any?