Changeset

10533:a6cc5b844d7b

util.mercurial: Ignore an unused error variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 21:09:38 +0100
parents 10532:19ec384eb782
children 10534:8a42fd6702e6
files util/mercurial.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/mercurial.lua	Mon Dec 23 21:02:19 2019 +0100
+++ b/util/mercurial.lua	Mon Dec 23 21:09:38 2019 +0100
@@ -19,7 +19,7 @@
 			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");