This website works better with JavaScript.
Home
Explore
Help
Sign In
TechnikNews
/
PublicAPIs
mirror of
https://github.com/public-apis/public-apis
Watch
1
Star
2
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Use standard error reporting for duplicate links
pull/386/head
Dave Machado
6 years ago
parent
17a0caf749
commit
263d095c65
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
build/validate_links.rb
+ 1
- 1
build/validate_links.rb
View File
@@ -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…
Cancel
Save