Procházet zdrojové kódy

Use standard error reporting for duplicate links

pull/386/head
Dave Machado před 6 roky
rodič
revize
263d095c65
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      build/validate_links.rb

+ 1
- 1
build/validate_links.rb Zobrazit soubor

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


Načítá se…
Zrušit
Uložit