Code tidying with Rubocop

This commit is contained in:
Maruno17
2023-07-18 22:42:10 +01:00
parent 6053363715
commit a5734eaf46
68 changed files with 276 additions and 232 deletions

View File

@@ -261,7 +261,7 @@ module Compiler
value = values[i]
next if !value || value.empty?
quote_count = value.count('"')
if !quote_count.zero?
if quote_count != 0
# Quote marks found in value
(i...(values.length - 1)).each do |j|
quote_count = values[i].count('"')