CheckBasicStyle: Fixed a forgotten file close.

master
Mattes D 2015-01-29 11:10:32 +01:00
parent 076c87f797
commit 64a16a7309
1 changed files with 1 additions and 0 deletions

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