mirror of
https://github.com/public-apis/public-apis.git
synced 2024-07-15 00:00:24 +02:00
convert char to upcase for sort check
This commit is contained in:
parent
c8525b2f6d
commit
4a0d7cd78c
@ -47,7 +47,7 @@ File.foreach(filename).with_index do | line, line_num |
|
||||
end
|
||||
|
||||
# char to check is the first char in the first column
|
||||
check_char = line.split("|")[1].strip[0]
|
||||
check_char = line.split("|")[1].strip[0].upcase
|
||||
section_to_entries[section].push(check_char)
|
||||
end
|
||||
sections.each do | sect |
|
||||
|
Loading…
Reference in New Issue
Block a user