Browse Source

Use standard error reporting for duplicate links

pull/386/head
Dave Machado 6 years ago
parent
commit
263d095c65
1 changed files with 1 additions and 1 deletions
  1. +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


Loading…
Cancel
Save