使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
TechnikNews
/
PublicAPIs
镜像自地址
https://github.com/public-apis/public-apis
关注
1
点赞
2
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
Use standard error reporting for duplicate links
pull/386/head
Dave Machado
6 年前
父节点
17a0caf749
当前提交
263d095c65
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
撰写
预览
正在加载...
取消
保存