aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV1K1NGbg <victor@ilchev.com>2024-07-13 00:03:39 +0300
committerV1K1NGbg <victor@ilchev.com>2024-08-05 20:49:17 +0300
commit32b20798b5b71fd646bbaa05896ce94a61058af6 (patch)
tree2f5a93aad4699e24e78c9140bbb3b6b0648d4f84
parent13d93b09e6306dcb0eba3dd11292af0ed55a9a05 (diff)
downloadluarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.tar.gz
luarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.tar.bz2
luarocks-32b20798b5b71fd646bbaa05896ce94a61058af6.zip
small fix
-rw-r--r--src/luarocks/core/manif.lua4
-rw-r--r--src/luarocks/core/manif.tl2
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 @@
1local _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") 1local _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
3local persist = require("luarocks.core.persist")
2local cfg = require("luarocks.core.cfg") 4local cfg = require("luarocks.core.cfg")
3local dir = require("luarocks.core.dir") 5local dir = require("luarocks.core.dir")
4local util = require("luarocks.core.util") 6local 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
1local persist = require("luarocks.core.persist") 3local persist = require("luarocks.core.persist")
2local cfg = require("luarocks.core.cfg") 4local cfg = require("luarocks.core.cfg")
3local dir = require("luarocks.core.dir") 5local dir = require("luarocks.core.dir")