ソースを参照

Sort final failfure array for easy reading

pull/386/head
Dave Machado 6年前
コミット
92bcf9d046
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      build/validate_links.rb

+ 3
- 2
build/validate_links.rb ファイルの表示

@@ -47,8 +47,8 @@ links.each do |link|
fails.push("(SSL): #{link}")
rescue SocketError
fails.push("(SOK): #{link}")
rescue
fails.push("(ERR): #{link}")
rescue Errno::ECONNREFUSED
fails.push("(CON): #{link}")
end
progressbar.increment
end
@@ -58,6 +58,7 @@ if fails.length <= 0
exit(0)
else
puts "-- RESULTS --"
fails.sort!
fails.each do |e|
puts e
end


読み込み中…
キャンセル
保存