From 8d73b9bccd1fef7a7d3f5cc990c79b2dafcd9a3a Mon Sep 17 00:00:00 2001 From: tobiaslieber <14908876+tobiaslieber@users.noreply.github.com> Date: Mon, 13 Mar 2023 22:50:50 +0100 Subject: [PATCH] fix(cache): path (#645) --- lua/lazy/core/cache.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/core/cache.lua b/lua/lazy/core/cache.lua index c9313cd..22e09c3 100644 --- a/lua/lazy/core/cache.lua +++ b/lua/lazy/core/cache.lua @@ -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)