util.mercurial: Ignore an unused error variable [luacheck]

This commit is contained in:
Kim Alvefur 2019-12-23 21:09:38 +01:00
parent bbb1aae80f
commit 613e3eb3dc

View file

@ -19,7 +19,7 @@ function hg.check_id(path)
hg_changelog:close();
end
else
local hg_archival,e = io.open(path.."/.hg_archival.txt");
local hg_archival,e = io.open(path.."/.hg_archival.txt"); -- luacheck: ignore 211/e
if hg_archival then
local repo = hg_archival:read("*l");
local node = hg_archival:read("*l");