Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
4a0d7cd7
Commit
4a0d7cd7
authored
Aug 18, 2017
by
davemachado
Browse files
convert char to upcase for sort check
parent
c8525b2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/validate_format.rb
View file @
4a0d7cd7
...
...
@@ -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
|
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment