[前][次][番号順一覧][スレッド一覧]

ruby-changes:66761

From: Nobuyoshi <ko1@a...>
Date: Tue, 13 Jul 2021 19:37:42 +0900 (JST)
Subject: [ruby-changes:66761] 4c039a2ea0 (master): tool/sync_default_gems.rb: remove CRs

https://git.ruby-lang.org/ruby.git/commit/?id=4c039a2ea0

From 4c039a2ea07fa20916b2bc6a4aaee92e06cf6421 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 13 Jul 2021 19:36:52 +0900
Subject: tool/sync_default_gems.rb: remove CRs

---
 tool/sync_default_gems.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index c8fc83a..9a13f4d 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -333,6 +333,7 @@ IGNORE_FILE_PATTERN = https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L333
 
 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/"}
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]