[rubygems/rubygems] There should always be a reason

https://github.com/rubygems/rubygems/commit/4180008c2d
This commit is contained in:
David Rodríguez 2023-06-09 19:37:24 +02:00 committed by Hiroshi SHIBATA
parent c12168185e
commit 4f1b1817a8

View File

@ -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?