mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
loggingmanager,modulemanager,moduleapi: Ignore warning about accessing _G.unpack [luacheck]
This commit is contained in:
parent
bad300a675
commit
e349fb9c87
3 changed files with 4 additions and 3 deletions
|
@ -16,7 +16,8 @@ local math_max, rep = math.max, string.rep;
|
|||
local os_date = os.date;
|
||||
local getstyle, getstring = require "util.termcolours".getstyle, require "util.termcolours".getstring;
|
||||
local tostring = tostring;
|
||||
local select, unpack = select, table.unpack or unpack;
|
||||
local select = select;
|
||||
local unpack = table.unpack or unpack; --luacheck: ignore 113
|
||||
|
||||
local config = require "core.configmanager";
|
||||
local logger = require "util.logger";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue