summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-13 19:36:52 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-13 19:36:52 +0900
commit4c039a2ea07fa20916b2bc6a4aaee92e06cf6421 (patch)
tree82004cfaddc202da0fe28c98343ddc9c22e548b2 /tool/sync_default_gems.rb
parentf9c559a0a2892d131e7d16c72d6ebd61f3cde208 (diff)
tool/sync_default_gems.rb: remove CRs
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/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 c8fc83a4aa..9a13f4dbde 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -333,6 +333,7 @@ IGNORE_FILE_PATTERN =
def message_filter(repo, sha)
log = STDIN.read
+ log.delete!("\r")
url = "https://github.com/#{repo}"
print "[#{repo}] ", log.gsub(/fix +#\d+|\(#\d+\)/i) {
$&.sub(/#/) {"#{url}/pull/"}