From 514a9346ac3a73e184ce262272b322404f87c1f6 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 14 Oct 2024 21:03:26 +0100 Subject: [PATCH] promise_tech: disable unnecessary luacheck errors --- promise_tech.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/promise_tech.lua b/promise_tech.lua index 9693ecb..f69efed 100644 --- a/promise_tech.lua +++ b/promise_tech.lua @@ -53,7 +53,9 @@ local f = function(val) end -- Table tweaks (because this is for Minetest) --- @class table local table = table +-- @diagnostic disable-next-line if not table.unpack then table.unpack = unpack end +-- @diagnostic disable-next-line table.join = function(tbl, sep) local function fn_iter(tbl,sep,i) if i < #tbl then