mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
sync_default_gems.rb: fix a typo [ci skip]
This commit is contained in:
parent
2bb89b7f11
commit
7e3af23d1d
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ def message_filter(repo, sha, input: ARGF)
|
||||||
log.sub!(/(?<=\n)\n+\z/, '') # drop empty lines at the last
|
log.sub!(/(?<=\n)\n+\z/, '') # drop empty lines at the last
|
||||||
conv[log]
|
conv[log]
|
||||||
log.sub!(/(?:(\A\s*)|\s*\n)(?=(?i:Co-authored-by:.*)*\Z)/) {
|
log.sub!(/(?:(\A\s*)|\s*\n)(?=(?i:Co-authored-by:.*)*\Z)/) {
|
||||||
$~.begin(0) ? "#{url}\n" : "\n\n#{url}"
|
$~.begin(1) ? "#{url}\n" : "\n\n#{url}"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
log = url
|
log = url
|
||||||
|
|
Loading…
Reference in a new issue