Diff

core/modulemanager.lua @ 10530:67d56dacc79c

core.modulemanager: Silence warning about unused err variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 20 Dec 2019 22:38:45 +0100
parent 10434:8f709577fe8e
child 11145:be73df6765b9
line wrap: on
line diff
--- a/core/modulemanager.lua	Fri Dec 20 22:33:24 2019 +0100
+++ b/core/modulemanager.lua	Fri Dec 20 22:38:45 2019 +0100
@@ -246,7 +246,8 @@
 
 	local saved;
 	if module_has_method(mod, "save") then
-		local ok, ret, err = call_module_method(mod, "save");
+		-- FIXME What goes in 'err' here?
+		local ok, ret, err = call_module_method(mod, "save"); -- luacheck: ignore 211/err
 		if ok then
 			saved = ret;
 		else