mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Minor refactoring to kill various Rubocop warnings
This commit is contained in:
@@ -259,7 +259,8 @@ def pbGetText(infile)
|
||||
end
|
||||
end
|
||||
i=0
|
||||
loop do break unless i<section.length
|
||||
loop do
|
||||
break unless i < section.length
|
||||
if itemlength==3
|
||||
if !section[i][/^\d+$/]
|
||||
raise _INTL("Expected a number in section {1}, got {2} instead",name,section[i])
|
||||
|
||||
Reference in New Issue
Block a user