aboutsummaryrefslogtreecommitdiffstats
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
commit613e3eb3dc54e3ed75353fbd4a2a0902985ec357 (patch)
treeef9ef6563b6e1f5ee01efc583ba1de6851c45bd8
parentbbb1aae80fb294dbfcc0986ae049f91edcd5357d (diff)
downloadprosody-613e3eb3dc54e3ed75353fbd4a2a0902985ec357.tar.gz
prosody-613e3eb3dc54e3ed75353fbd4a2a0902985ec357.zip
util.mercurial: Ignore an unused error variable [luacheck]
-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");