1
0

CheckBasicStyle: Fixed a forgotten file close.

This commit is contained in:
Mattes D 2015-01-29 11:10:32 +01:00
parent 076c87f797
commit 64a16a7309

View File

@ -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))