We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c83563d commit 527f83cCopy full SHA for 527f83c
lua/lazy/health.lua
@@ -20,7 +20,7 @@ function M.check()
20
local existing = false
21
for _, site in pairs(sites) do
22
for _, packs in ipairs(vim.fn.expand(site .. "/pack/*", false, true)) do
23
- if not packs:find("/dist$") and vim.loop.fs_stat(packs) then
+ if not packs:find("[/\\]dist$") and vim.loop.fs_stat(packs) then
24
existing = true
25
vim.health.report_warn("found existing packages at `" .. packs .. "`")
26
end
0 commit comments