diff options
| author | V1K1NGbg <victor@ilchev.com> | 2024-07-13 00:03:39 +0300 |
|---|---|---|
| committer | V1K1NGbg <victor@ilchev.com> | 2024-08-05 20:49:17 +0300 |
| commit | 32b20798b5b71fd646bbaa05896ce94a61058af6 (patch) | |
| tree | 2f5a93aad4699e24e78c9140bbb3b6b0648d4f84 | |
| parent | 13d93b09e6306dcb0eba3dd11292af0ed55a9a05 (diff) | |
| download | luarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.tar.gz luarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.tar.bz2 luarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.zip | |
small fix
| -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") |
