Add Travis CI and LuaCheck (#5)

This commit is contained in:
David Leal
2020-05-12 19:32:23 -05:00
committed by GitHub
parent 29fe3ac467
commit 70a485f793
5 changed files with 33 additions and 8 deletions

View File

@ -5,7 +5,7 @@ function minercantile.wallet.load_wallet(name)
if minercantile.wallets[name] == nil then
minercantile.wallets[name] = {}
end
local file, err = io.open(minercantile.path_wallet..name, "r")
local file, _ = io.open(minercantile.path_wallet..name, "r")
if file then
local data = minetest.deserialize(file:read("*all"))
file:close()