Skip to content

Commit 8d73b9b

Browse files
authored
fix(cache): path (#645)
1 parent 5b4444f commit 8d73b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/core/cache.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function M.lsmod(path)
341341
break
342342
end
343343
-- HACK: type is not always returned due to a bug in luv
344-
t = t or uv.fs_stat(path .. "/" .. name).type
344+
t = t or uv.fs_stat(path .. "/lua/" .. name).type
345345
---@type string
346346
local topname
347347
local ext = name:sub(-4)

0 commit comments

Comments
 (0)