mirror of
https://github.com/ruby/ruby.git
synced 2026-08-01 16:00:28 +08:00
auto_review_pr.rb: Fix link to Onigmo
This commit is contained in:
parent
8b22811652
commit
d8a2f6cee6
Notes:
git
2026-07-06 11:05:09 +00:00
@ -155,7 +155,7 @@ class AutoReviewPR
|
||||
comment << "#{UPSTREAM_COMMENT_PREFIX}\n\n"
|
||||
|
||||
upstream_repos.each do |upstream_repo, files|
|
||||
comment << "* https://github.com/ruby/#{upstream_repo}\n"
|
||||
comment << "* https://github.com/#{upstream_repo}\n"
|
||||
files.each do |file|
|
||||
comment << " * #{file}\n"
|
||||
end
|
||||
|
||||
@ -314,7 +314,7 @@ module SyncDefaultGems
|
||||
return if NO_UPSTREAM.any? {|dst| file.start_with?(dst) }
|
||||
REPOSITORIES.find do |repo_name, repository|
|
||||
if repository.mappings.any? {|_src, dst| file.start_with?(dst) }
|
||||
break repo_name
|
||||
break repository.upstream
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -369,8 +369,8 @@ module Test_SyncDefaultGems
|
||||
lib/net/https.rb
|
||||
])
|
||||
expected = {
|
||||
"un" => %w[lib/un.rb],
|
||||
"net-http" => %w[lib/net/https.rb],
|
||||
"ruby/un" => %w[lib/un.rb],
|
||||
"ruby/net-http" => %w[lib/net/https.rb],
|
||||
nil => %w[lib/unicode_normalize/normalize.rb lib/unicode_normalize/tables.rb],
|
||||
}
|
||||
assert_equal(expected, group)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user