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
1 changed files with 1 additions and 0 deletions

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