From 8f8d62fc0dd10f50a340386f324b31b20f84796b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 1 Jul 2020 12:52:39 +0100 Subject: [PATCH] [Minor] Pet luacheck --- rules/controller/maps.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/controller/maps.lua b/rules/controller/maps.lua index be93e0a6d..f21b34c24 100644 --- a/rules/controller/maps.lua +++ b/rules/controller/maps.lua @@ -38,14 +38,15 @@ local function maybe_fill_maps_cache() -- Do not override, as we don't care about duplicate maps that come from different -- sources. -- In theory, that should be cached but there are some exceptions even so far... + url = math.random() -- to shut luacheck about empty branch with a comment end end end end end -local function check_specific_map(value, uri, m, results) - local value = m:get_key(value) +local function check_specific_map(input, uri, m, results) + local value = m:get_key(input) if value then local result = {