"mall4m/vscode:/vscode.git/clone" did not exist on "8aeef4e0bdcb3ce6fe351751c97a0bc73aa97310"
Commit 92bcf9d0 authored by Dave Machado's avatar Dave Machado
Browse files

Sort final failfure array for easy reading

parent 263d095c
...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment