mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
This commit is contained in:
parent
fc6e0a089d
commit
c904d1e28d
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
|
||||
local setmetatable, getmetatable = setmetatable, getmetatable;
|
||||
local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113
|
||||
local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113 143
|
||||
local tostring = tostring;
|
||||
local type = type;
|
||||
local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue