Parcourir la source

Use standard error reporting for duplicate links

pull/386/head
Dave Machado il y a 6 ans
Parent
révision
263d095c65
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      build/validate_links.rb

+ 1
- 1
build/validate_links.rb Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer