Skip to content

Commit

Permalink
Merge pull request #4 from ComputerNerd/luarocks-core-fix
Browse files Browse the repository at this point in the history
Fix "module 'luarocks.cfg' not found" error.
  • Loading branch information
gaspard authored Mar 4, 2021
2 parents 8d7a56f + 07d7e5a commit 4b5ee46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lub/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local SYSTINFO
--
function lib.plat()
if not SYSTINFO then
local cfg = require 'luarocks.cfg'
local cfg = require 'luarocks.core.cfg'
local ok, system = pcall(function()
return io.popen("uname -s"):read("*l")
end)
Expand Down

0 comments on commit 4b5ee46

Please sign in to comment.