From c9afbc85a5c6ed7e5979a5f12950bfe06c995468 Mon Sep 17 00:00:00 2001 From: V1K1NGbg Date: Mon, 29 Jul 2024 20:01:35 +0300 Subject: add compat53 dependency --- src/luarocks/util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua index 04865715..145993ea 100644 --- a/src/luarocks/util.lua +++ b/src/luarocks/util.lua @@ -63,9 +63,9 @@ local scheduled_functions = {} function util.schedule_function(f, ...) - local pack = table.pack or function(...) return { n = select("#", ...), ... } end --! FOR TESTS TO PASS + -- local pack = table.pack or function(...) return { n = select("#", ...), ... } end --! FOR TESTS TO PASS - local item = { fn = f, args = pack(...) } + local item = { fn = f, args = table.pack(...) } table.insert(scheduled_functions, item) return item end -- cgit v1.2.3-55-g6feb