diff options
| -rw-r--r-- | src/luarocks/core/manif.lua | 4 | ||||
| -rw-r--r-- | src/luarocks/core/manif.tl | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/luarocks/core/manif.lua b/src/luarocks/core/manif.lua index 7d7d68fa..6f48bab3 100644 --- a/src/luarocks/core/manif.lua +++ b/src/luarocks/core/manif.lua | |||
| @@ -1,4 +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 table = _tl_compat and _tl_compat.table or table; local persist = require("luarocks.core.persist") | 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 table = _tl_compat and _tl_compat.table or table |
| 2 | |||
| 3 | local persist = require("luarocks.core.persist") | ||
| 2 | local cfg = require("luarocks.core.cfg") | 4 | local cfg = require("luarocks.core.cfg") |
| 3 | local dir = require("luarocks.core.dir") | 5 | local dir = require("luarocks.core.dir") |
| 4 | local util = require("luarocks.core.util") | 6 | local util = require("luarocks.core.util") |
diff --git a/src/luarocks/core/manif.tl b/src/luarocks/core/manif.tl index cf698d82..dc8b53d2 100644 --- a/src/luarocks/core/manif.tl +++ b/src/luarocks/core/manif.tl | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | |||
| 2 | |||
| 1 | local persist = require("luarocks.core.persist") | 3 | local persist = require("luarocks.core.persist") |
| 2 | local cfg = require("luarocks.core.cfg") | 4 | local cfg = require("luarocks.core.cfg") |
| 3 | local dir = require("luarocks.core.dir") | 5 | local dir = require("luarocks.core.dir") |
