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
92bcf9d0
"mall4m/vscode:/vscode.git/clone" did not exist on "8aeef4e0bdcb3ce6fe351751c97a0bc73aa97310"
Commit
92bcf9d0
authored
Jul 12, 2017
by
Dave Machado
Browse files
Sort final failfure array for easy reading
parent
263d095c
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/validate_links.rb
View file @
92bcf9d0
...
@@ -47,8 +47,8 @@ links.each do |link|
...
@@ -47,8 +47,8 @@ links.each do |link|
fails
.
push
(
"(SSL):
#{
link
}
"
)
fails
.
push
(
"(SSL):
#{
link
}
"
)
rescue
SocketError
rescue
SocketError
fails
.
push
(
"(SOK):
#{
link
}
"
)
fails
.
push
(
"(SOK):
#{
link
}
"
)
rescue
rescue
Errno
::
ECONNREFUSED
fails
.
push
(
"(
ERR
):
#{
link
}
"
)
fails
.
push
(
"(
CON
):
#{
link
}
"
)
end
end
progressbar
.
increment
progressbar
.
increment
end
end
...
@@ -58,6 +58,7 @@ if fails.length <= 0
...
@@ -58,6 +58,7 @@ if fails.length <= 0
exit
(
0
)
exit
(
0
)
else
else
puts
"-- RESULTS --"
puts
"-- RESULTS --"
fails
.
sort!
fails
.
each
do
|
e
|
fails
.
each
do
|
e
|
puts
e
puts
e
end
end
...
...
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