We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5694483 commit b814d87Copy full SHA for b814d87
lua/lazy/core/cache.lua
@@ -231,13 +231,6 @@ function Cache.find(modname, opts)
231
local basename = modname:gsub("%.", "/")
232
local idx = modname:find(".", 1, true)
233
234
- -- HACK: some plugins try to load invalid relative paths (see #543)
235
- if idx == 1 then
236
- modname = modname:gsub("^%.+", "")
237
- basename = modname:gsub("%.", "/")
238
- idx = modname:find(".", 1, true)
239
- end
240
-
241
local topmod = idx and modname:sub(1, idx - 1) or modname
242
243
-- OPTIM: search for a directory first when topmod == modname
0 commit comments