зеркало из https://github.com/github/ruby.git
tool/sync_default_gems.rb: remove CRs
This commit is contained in:
Родитель
f9c559a0a2
Коммит
4c039a2ea0
|
@ -333,6 +333,7 @@ IGNORE_FILE_PATTERN =
|
||||||
|
|
||||||
def message_filter(repo, sha)
|
def message_filter(repo, sha)
|
||||||
log = STDIN.read
|
log = STDIN.read
|
||||||
|
log.delete!("\r")
|
||||||
url = "https://github.com/#{repo}"
|
url = "https://github.com/#{repo}"
|
||||||
print "[#{repo}] ", log.gsub(/fix +#\d+|\(#\d+\)/i) {
|
print "[#{repo}] ", log.gsub(/fix +#\d+|\(#\d+\)/i) {
|
||||||
$&.sub(/#/) {"#{url}/pull/"}
|
$&.sub(/#/) {"#{url}/pull/"}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче