mirror of https://github.com/folke/lazy.nvim.git
fix(cache): path (#645)
This commit is contained in:
parent
5b4444f0d7
commit
8d73b9bccd
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue