diff options
| author | V1K1NGbg <victor@ilchev.com> | 2024-07-29 20:01:35 +0300 |
|---|---|---|
| committer | V1K1NGbg <victor@ilchev.com> | 2024-08-05 20:51:31 +0300 |
| commit | c9afbc85a5c6ed7e5979a5f12950bfe06c995468 (patch) | |
| tree | a28007dfed0a010a7f5bfde2fb862efc3a43b47e /src | |
| parent | b2c2ed5ea350bdbb112adf6c5abd70afecdec028 (diff) | |
| download | luarocks-c9afbc85a5c6ed7e5979a5f12950bfe06c995468.tar.gz luarocks-c9afbc85a5c6ed7e5979a5f12950bfe06c995468.tar.bz2 luarocks-c9afbc85a5c6ed7e5979a5f12950bfe06c995468.zip | |
add compat53 dependency
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/util.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 = {} | |||
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | function util.schedule_function(f, ...) | 65 | function util.schedule_function(f, ...) |
| 66 | local pack = table.pack or function(...) return { n = select("#", ...), ... } end --! FOR TESTS TO PASS | 66 | -- local pack = table.pack or function(...) return { n = select("#", ...), ... } end --! FOR TESTS TO PASS |
| 67 | 67 | ||
| 68 | local item = { fn = f, args = pack(...) } | 68 | local item = { fn = f, args = table.pack(...) } |
| 69 | table.insert(scheduled_functions, item) | 69 | table.insert(scheduled_functions, item) |
| 70 | return item | 70 | return item |
| 71 | end | 71 | end |
