promise_tech: disable unnecessary luacheck errors

This commit is contained in:
Starbeamrainbowlabs 2024-10-14 21:03:26 +01:00
parent 0ca3842b40
commit 514a9346ac
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -53,7 +53,9 @@ local f = function(val) end
-- Table tweaks (because this is for Minetest) -- Table tweaks (because this is for Minetest)
--- @class table --- @class table
local table = table local table = table
-- @diagnostic disable-next-line
if not table.unpack then table.unpack = unpack end if not table.unpack then table.unpack = unpack end
-- @diagnostic disable-next-line
table.join = function(tbl, sep) table.join = function(tbl, sep)
local function fn_iter(tbl,sep,i) local function fn_iter(tbl,sep,i)
if i < #tbl then if i < #tbl then