This website works better with JavaScript.
首頁
探索
說明
登入
TechnikNews
/
PublicAPIs
镜像来自
https://github.com/public-apis/public-apis
關註
1
收藏
2
複製
0
程式碼
問題管理
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Update progress bar formatting
pull/389/head
Dave Machado
7 年之前
committed by
GitHub
父節點
267c7bc224
當前提交
e2b3ae925f
共有
1 個文件被更改
,包括
2 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
build/validate_links.rb
+ 2
- 1
build/validate_links.rb
查看文件
@@ -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
Write
Preview
Loading…
取消
儲存