diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2025-01-15 23:47:08 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-01-15 23:49:49 -0300 |
commit | 1ada2ea4bbd94ac0c58e3e2cc918194140090a75 (patch) | |
tree | dcde421364f6d8bb672e811af200d7aed951d0e5 /src | |
parent | 1ab24ce81191495bce09458fc55e65fdecb75aab (diff) | |
download | luarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.tar.gz luarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.tar.bz2 luarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.zip |
update generated code
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/build.lua | 2 | ||||
-rw-r--r-- | src/luarocks/build/cmake.lua | 2 | ||||
-rw-r--r-- | src/luarocks/build/command.lua | 2 | ||||
-rw-r--r-- | src/luarocks/build/make.lua | 2 | ||||
-rw-r--r-- | src/luarocks/cmd.lua | 2 | ||||
-rw-r--r-- | src/luarocks/cmd/list.lua | 2 | ||||
-rw-r--r-- | src/luarocks/cmd/show.lua | 2 | ||||
-rw-r--r-- | src/luarocks/cmd/upload.lua | 2 | ||||
-rw-r--r-- | src/luarocks/core/types/query.lua | 2 | ||||
-rw-r--r-- | src/luarocks/core/types/result.lua | 2 | ||||
-rw-r--r-- | src/luarocks/core/types/rockspec.lua | 2 | ||||
-rw-r--r-- | src/luarocks/fetch.lua | 2 | ||||
-rw-r--r-- | src/luarocks/repos.lua | 2 | ||||
-rw-r--r-- | src/luarocks/tools/patch.lua | 2 | ||||
-rw-r--r-- | src/luarocks/tools/tar.lua | 2 | ||||
-rw-r--r-- | src/luarocks/tools/zip.lua | 2 | ||||
-rw-r--r-- | src/luarocks/type_check.lua | 2 | ||||
-rw-r--r-- | src/luarocks/upload/api.lua | 2 | ||||
-rw-r--r-- | src/luarocks/upload/multipart.lua | 2 | ||||
-rw-r--r-- | src/luarocks/util.lua | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index 1201cdef..c43e8fdc 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local type = type |
2 | local build = {Builder = {}, } | 2 | local build = { Builder = {} } |
3 | 3 | ||
4 | 4 | ||
5 | 5 | ||
diff --git a/src/luarocks/build/cmake.lua b/src/luarocks/build/cmake.lua index 3f86fe9e..ea132a3e 100644 --- a/src/luarocks/build/cmake.lua +++ b/src/luarocks/build/cmake.lua | |||
@@ -2,7 +2,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th | |||
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | local cmake = {CMakeBuild = {Install = {}, }, } | 5 | local cmake = { CMakeBuild = {} } |
6 | 6 | ||
7 | 7 | ||
8 | 8 | ||
diff --git a/src/luarocks/build/command.lua b/src/luarocks/build/command.lua index f795321b..a4eddb87 100644 --- a/src/luarocks/build/command.lua +++ b/src/luarocks/build/command.lua | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | local command = {CommandBuild = {Install = {}, }, } | 5 | local command = { CommandBuild = {} } |
6 | 6 | ||
7 | 7 | ||
8 | 8 | ||
diff --git a/src/luarocks/build/make.lua b/src/luarocks/build/make.lua index 3110198c..7cf4505b 100644 --- a/src/luarocks/build/make.lua +++ b/src/luarocks/build/make.lua | |||
@@ -2,7 +2,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th | |||
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | local make = {MakeBuild = {Install = {}, }, } | 5 | local make = { MakeBuild = {} } |
6 | 6 | ||
7 | 7 | ||
8 | 8 | ||
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 92b31857..4890593d 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local debug = _tl_compat and _tl_compat.debug or debug; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local loadfile = _tl_compat and _tl_compat.loadfile or loadfile; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local _tl_table_unpack = unpack or table.unpack; local type = type; local xpcall = _tl_compat and _tl_compat.xpcall or xpcall | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local debug = _tl_compat and _tl_compat.debug or debug; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local loadfile = _tl_compat and _tl_compat.loadfile or loadfile; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local _tl_table_unpack = unpack or table.unpack; local type = type; local xpcall = _tl_compat and _tl_compat.xpcall or xpcall |
2 | 2 | ||
3 | local cmd = {Module = {}, } | 3 | local cmd = { Module = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/cmd/list.lua b/src/luarocks/cmd/list.lua index 84fb6588..1af8e481 100644 --- a/src/luarocks/cmd/list.lua +++ b/src/luarocks/cmd/list.lua | |||
@@ -1,7 +1,7 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table |
2 | 2 | ||
3 | 3 | ||
4 | local list = {Outdated = {}, } | 4 | local list = { Outdated = {} } |
5 | 5 | ||
6 | 6 | ||
7 | 7 | ||
diff --git a/src/luarocks/cmd/show.lua b/src/luarocks/cmd/show.lua index d9552197..087defb2 100644 --- a/src/luarocks/cmd/show.lua +++ b/src/luarocks/cmd/show.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type |
2 | 2 | ||
3 | local show = {Return = {}, } | 3 | local show = { Return = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/cmd/upload.lua b/src/luarocks/cmd/upload.lua index 6a3ef3d2..755dd4e7 100644 --- a/src/luarocks/cmd/upload.lua +++ b/src/luarocks/cmd/upload.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local string = _tl_compat and _tl_compat.string or string | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local string = _tl_compat and _tl_compat.string or string |
2 | local upload = {Response = {version = {}, }, } | 2 | local upload = { Response = { version = {} } } |
3 | 3 | ||
4 | 4 | ||
5 | 5 | ||
diff --git a/src/luarocks/core/types/query.lua b/src/luarocks/core/types/query.lua index e8f318fe..55c3b197 100644 --- a/src/luarocks/core/types/query.lua +++ b/src/luarocks/core/types/query.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | local query = {Query = {}, } | 3 | local query = { Query = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/core/types/result.lua b/src/luarocks/core/types/result.lua index 974bd23a..4a564278 100644 --- a/src/luarocks/core/types/result.lua +++ b/src/luarocks/core/types/result.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | local result = {Result = {}, } | 3 | local result = { Result = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/core/types/rockspec.lua b/src/luarocks/core/types/rockspec.lua index 5d90fbf1..f23baf9b 100644 --- a/src/luarocks/core/types/rockspec.lua +++ b/src/luarocks/core/types/rockspec.lua | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
5 | local rockspec = {Description = {}, Source = {}, Test = {}, Dependencies = {}, Hooks = {}, Deploy = {}, Rockspec = {}, } | 5 | local rockspec = { Description = {}, Source = {}, Test = {}, Dependencies = {}, Hooks = {}, Deploy = {}, Rockspec = {} } |
6 | 6 | ||
7 | 7 | ||
8 | 8 | ||
diff --git a/src/luarocks/fetch.lua b/src/luarocks/fetch.lua index be0cbcb7..07c4bf94 100644 --- a/src/luarocks/fetch.lua +++ b/src/luarocks/fetch.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type |
2 | 2 | ||
3 | local fetch = {Fetch = {}, } | 3 | local fetch = { Fetch = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua index 32cb9aa3..e283301c 100644 --- a/src/luarocks/repos.lua +++ b/src/luarocks/repos.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local os = _tl_compat and _tl_compat.os or os; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local os = _tl_compat and _tl_compat.os or os; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type |
2 | 2 | ||
3 | local repos = {Op = {}, Paths = {}, } | 3 | local repos = { Op = {}, Paths = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/tools/patch.lua b/src/luarocks/tools/patch.lua index 4bf27e31..8dc188a6 100644 --- a/src/luarocks/tools/patch.lua +++ b/src/luarocks/tools/patch.lua | |||
@@ -8,7 +8,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th | |||
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
11 | local patch = {Lineends = {}, Hunk = {}, File = {}, Files = {}, } | 11 | local patch = { Lineends = {}, Hunk = {}, File = {}, Files = {} } |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
diff --git a/src/luarocks/tools/tar.lua b/src/luarocks/tools/tar.lua index 6db1334a..26090d24 100644 --- a/src/luarocks/tools/tar.lua +++ b/src/luarocks/tools/tar.lua | |||
@@ -1,6 +1,6 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string |
2 | 2 | ||
3 | local tar = {Header = {}, } | 3 | local tar = { Header = {} } |
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
diff --git a/src/luarocks/tools/zip.lua b/src/luarocks/tools/zip.lua index 6ff368d0..169a3004 100644 --- a/src/luarocks/tools/zip.lua +++ b/src/luarocks/tools/zip.lua | |||
@@ -1,7 +1,7 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local type = type |
2 | 2 | ||
3 | 3 | ||
4 | local zip = {ZipHandle = {}, LocalFileHeader = {}, Zip = {}, } | 4 | local zip = { ZipHandle = {}, LocalFileHeader = {}, Zip = {} } |
5 | 5 | ||
6 | 6 | ||
7 | 7 | ||
diff --git a/src/luarocks/type_check.lua b/src/luarocks/type_check.lua index 6ca49fc7..cf37462c 100644 --- a/src/luarocks/type_check.lua +++ b/src/luarocks/type_check.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type |
2 | local type_check = {TableSchema = {}, } | 2 | local type_check = { TableSchema = {} } |
3 | 3 | ||
4 | 4 | ||
5 | 5 | ||
diff --git a/src/luarocks/upload/api.lua b/src/luarocks/upload/api.lua index 48a657eb..e6762d76 100644 --- a/src/luarocks/upload/api.lua +++ b/src/luarocks/upload/api.lua | |||
@@ -1,4 +1,4 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type; local api = {Configuration = {}, Api = {}, } | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type; local api = { Configuration = {}, Api = {} } |
2 | 2 | ||
3 | 3 | ||
4 | 4 | ||
diff --git a/src/luarocks/upload/multipart.lua b/src/luarocks/upload/multipart.lua index 4867aa3d..48da065b 100644 --- a/src/luarocks/upload/multipart.lua +++ b/src/luarocks/upload/multipart.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_unpack = unpack or table.unpack; local type = type | 1 | local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_unpack = unpack or table.unpack; local type = type |
2 | local multipart = {File = {}, } | 2 | local multipart = { File = {} } |
3 | 3 | ||
4 | 4 | ||
5 | 5 | ||
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua index e9c92a8f..ffa53b09 100644 --- a/src/luarocks/util.lua +++ b/src/luarocks/util.lua | |||
@@ -10,7 +10,7 @@ local cfg = require("luarocks.core.cfg") | |||
10 | 10 | ||
11 | 11 | ||
12 | 12 | ||
13 | local util = {Fn = {}, } | 13 | local util = { Fn = {} } |
14 | 14 | ||
15 | 15 | ||
16 | 16 | ||