Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
TechnikNews
/
PublicAPIs
peilaus alkaen
https://github.com/public-apis/public-apis
Tarkkaile
1
Äänestä
2
Fork
0
Koodi
Ongelmat
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
Update progress bar formatting
pull/389/head
Dave Machado
6 vuotta sitten
committed by
GitHub
vanhempi
267c7bc224
commit
e2b3ae925f
1 muutettua tiedostoa
jossa
2 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
Näytä tiedosto
@@ -33,7 +33,8 @@ end
links = links.uniq
count = 0
total = links.length
progressbar = ProgressBar.create(:total => total)
progressbar = ProgressBar.create(:total => total,
:format => "%a %P% | Processed: %c from %C")
# GET each link and check for valid response code from allowed_codes
links.each do |link|
begin
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna