Explorar el Código

Use standard error reporting for duplicate links

pull/386/head
Dave Machado hace 6 años
padre
commit
263d095c65
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      build/validate_links.rb

+ 1
- 1
build/validate_links.rb Ver fichero

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


Cargando…
Cancelar
Guardar