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