Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Inloggen
TechnikNews
/
PublicAPIs
kopie van
https://github.com/public-apis/public-apis
Volgen
1
Ster
2
Vork
0
Code
Kwesties
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
Update progress bar formatting
pull/389/head
Dave Machado
7 jaren geleden
committed by
GitHub
bovenliggende
267c7bc224
commit
e2b3ae925f
1 gewijzigde bestanden
met
toevoegingen van 2
en
1 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
Bestand weergeven
@@ -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
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan