Use standard error reporting for duplicate links
This commit is contained in:
1 parent
17a0caf749
commit
263d095c65
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user