fix(cache): path (#645)

This commit is contained in:
tobiaslieber 2023-03-13 22:50:50 +01:00 committed by GitHub
parent 5b4444f0d7
commit 8d73b9bccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ function M.lsmod(path)
break
end
-- 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
local topname
local ext = name:sub(-4)