Skip to content

Commit

Permalink
[rubygems/rubygems] There should always be a reason
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Jun 14, 2023
1 parent c121681 commit 4f1b181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/definition.rb
Expand Up @@ -405,7 +405,7 @@ def ensure_equivalent_gemfile_and_lockfile(explicit_flag = false)
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?
Expand Down

0 comments on commit 4f1b181

Please sign in to comment.