本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
TechnikNews
/
PublicAPIs
镜像来自
https://github.com/public-apis/public-apis
關注
1
收藏
2
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
Use standard error reporting for duplicate links
pull/386/head
Dave Machado
6 年之前
父節點
17a0caf749
當前提交
263d095c65
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
build/validate_links.rb
+ 1
- 1
build/validate_links.rb
查看文件
@@ -21,7 +21,7 @@ fails = []
dup = links.select{|element| links.count(element) > 1}
if dup.uniq.length > 0
dup.uniq.each do |e|
fails.push("
Duplicate link
: #{e}")
fails.push("
(DUP)
: #{e}")
end
end
# Remove any duplicates from array
Write
Preview
Loading…
取消
儲存