promise.lua: add luacheck directive

This commit is contained in:
Starbeamrainbowlabs 2024-10-11 03:11:45 +01:00
parent 30e154944d
commit 9761fec6e7
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -27,6 +27,7 @@ end
------------------------------------------------------------------------ ------------------------------------------------------------------------
---@diagnostic disable-next-line
local do_unpack = unpack local do_unpack = unpack
if not do_unpack then do_unpack = table.unpack end if not do_unpack then do_unpack = table.unpack end
if not do_unpack then if not do_unpack then