Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion datafile/openers/luarocks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ ok, manif_core = pcall(require, "luarocks.manif_core") -- LuaRocks 2
if not ok then
local pok, cfg = pcall(require, "luarocks.core.cfg")
if pok then
pcall(cfg.init)
if not cfg.lua_extension then -- cfg not initialized
pcall(cfg.init)
end
_, manif_core = pcall(require, "luarocks.core.manif") -- LuaRocks 3
end
end
Expand Down