1
0
mirror of https://github.com/minetest-mods/intllib.git synced 2025-07-01 15:40:25 +02:00

Fix warnings issued by luacheck.

This commit is contained in:
Diego Martínez
2017-02-11 01:56:54 -03:00
parent c667cd0de6
commit 122d1a83cc
5 changed files with 17 additions and 30 deletions

View File

@ -49,7 +49,7 @@ end
function intllib.load_strings(filename)
local file, err = io.open(filename, "r")
if not file then
return nil
return nil, err
end
local strings = {}
for line in file:lines() do