This commit is contained in:
tobiaslieber 2023-03-13 22:25:34 +01:00
commit 49d47467a4
No known key found for this signature in database
GPG key ID: 065178285841AA46

View file

@ -341,7 +341,7 @@ function M.lsmod(path)
break break
end end
-- HACK: type is not always returned due to a bug in luv -- HACK: type is not always returned due to a bug in luv
t = t or uv.fs_stat(path .. "/" .. name).type t = t or uv.fs_stat(path .. "/lua/" .. name).type
---@type string ---@type string
local topname local topname
local ext = name:sub(-4) local ext = name:sub(-4)