1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

tool/sync_default_gems.rb: remove CRs

This commit is contained in:
Nobuyoshi Nakada 2021-07-13 19:36:52 +09:00
parent f9c559a0a2
commit 4c039a2ea0
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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/"}