Procházet zdrojové kódy

check based on whole string value over first char

pull/467/head
davemachado před 6 roky
rodič
revize
cfd23b41f9
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      build/validate_format.rb

+ 2
- 2
build/validate_format.rb Zobrazit soubor

@@ -46,8 +46,8 @@ File.foreach(filename).with_index do | line, line_num |
next
end

# char to check is the first char in the first column
check_char = line.split("|")[1].strip[0].upcase
# char to check is the first column
check_char = line.split("|")[1].strip.upcase
section_to_entries[section].push(check_char)
end
sections.each do | sect |


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