mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #18886 from Homebrew/maintainers-name-sorting
update-maintainers: ignore accents when sorting names
This commit is contained in:
commit
ba33e3a783
@ -35,7 +35,7 @@ module Homebrew
|
||||
members.each do |group, hash|
|
||||
hash.replace(hash.slice(*public_members))
|
||||
hash.each { |login, name| hash[login] = "[#{name}](https://github.com/#{login})" }
|
||||
sentences[group] = hash.values.sort.to_sentence
|
||||
sentences[group] = hash.values.sort_by { |s| s.unicode_normalize(:nfd).gsub(/\P{L}+/, "") }.to_sentence
|
||||
end
|
||||
|
||||
readme = HOMEBREW_REPOSITORY/"README.md"
|
||||
|
Loading…
x
Reference in New Issue
Block a user