CheckBasicStyle: Fixed a forgotten file close.
This commit is contained in:
@@ -167,6 +167,7 @@ local function ProcessFile(a_FileName)
|
||||
os.exit(1)
|
||||
end
|
||||
local all = f:read("*all")
|
||||
f:close()
|
||||
|
||||
-- Check that the last line is empty - otherwise processing won't work properly:
|
||||
local lastChar = string.byte(all, string.len(all))
|
||||
|
||||
Reference in New Issue
Block a user