Commit 263d095c authored by Dave Machado's avatar Dave Machado
Browse files

Use standard error reporting for duplicate links

parent 17a0caf7
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment