mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +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
|
@ -12,8 +12,8 @@ local it = {};
|
|||
|
||||
local t_insert = table.insert;
|
||||
local select, next = select, next;
|
||||
local unpack = table.unpack or unpack; --luacheck: ignore 113
|
||||
local pack = table.pack or function (...) return { n = select("#", ...), ... }; end
|
||||
local unpack = table.unpack or unpack; --luacheck: ignore 113 143
|
||||
local pack = table.pack or function (...) return { n = select("#", ...), ... }; end -- luacheck: ignore 143
|
||||
|
||||
-- Reverse an iterator
|
||||
function it.reverse(f, s, var)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue