summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/sync_default_gems.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 17b3ed5177..e5dec18222 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -443,6 +443,7 @@ module SyncDefaultGems
def message_filter(repo, sha, input: ARGF)
log = input.read
log.delete!("\r")
+ log << "\n" if !log.end_with?("\n")
repo_url = "https://github.com/#{repo}"
subject, log = log.split(/\n(?:[ \t]*(?:\n|\z))/, 2)
conv = proc do |s|