Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
TechnikNews
/
PublicAPIs
miroir de
https://github.com/public-apis/public-apis
Suivre
1
Ajouter aux favoris
2
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
Update progress bar formatting
pull/389/head
Dave Machado
il y a 7 ans
committed by
GitHub
Parent
267c7bc224
révision
e2b3ae925f
1 fichiers modifiés
avec
2 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
Voir le fichier
@@ -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
Écrire
Aperçu
Chargement…
Annuler
Enregistrer