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
c8525b2f
Commit
c8525b2f
authored
Aug 18, 2017
by
davemachado
Browse files
add functional break comments
parent
7f71a9cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/validate_format.rb
View file @
c8525b2f
...
...
@@ -28,6 +28,7 @@ def add_error(line_num, val_index, message)
$errors
.
push
(
"(L%03d) %-14.14s
#{
message
}
"
%
[
line_num
,
segment
])
end
################### CHECK ALPHABETICAL ORDER ###################
section
=
''
sections
=
[]
section_to_line_num
=
{}
...
...
@@ -55,6 +56,7 @@ sections.each do | sect |
end
end
#################### CHECK LINE ENTRIES ########################
File
.
foreach
(
filename
).
with_index
do
|
line
,
line_num
|
line_num
+=
1
...
...
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