aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 21:09:38 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 21:09:38 +0100
commit7da0e322ed6969444703a976ae01fabdadfb2794 (patch)
treeef9ef6563b6e1f5ee01efc583ba1de6851c45bd8 /util
parentd36536327142ecfe77b00fa929f383bf932270ae (diff)
downloadprosody-7da0e322ed6969444703a976ae01fabdadfb2794.tar.gz
prosody-7da0e322ed6969444703a976ae01fabdadfb2794.zip
util.mercurial: Ignore an unused error variable [luacheck]
Diffstat (limited to 'util')
-rw-r--r--util/mercurial.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mercurial.lua b/util/mercurial.lua
index 3f75c4c1..0f2b1d04 100644
--- a/util/mercurial.lua
+++ b/util/mercurial.lua
@@ -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");