From cfd23b41f99a9f976c7a66120db7a137c992732e Mon Sep 17 00:00:00 2001 From: davemachado Date: Fri, 18 Aug 2017 11:21:01 -0400 Subject: [PATCH] check based on whole string value over first char --- build/validate_format.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/validate_format.rb b/build/validate_format.rb index e96fcdb8..923c0338 100755 --- a/build/validate_format.rb +++ b/build/validate_format.rb @@ -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 |