We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3da6c74 commit ed0583eCopy full SHA for ed0583e
lua/lazy/core/util.lua
@@ -44,7 +44,7 @@ function M.norm(path)
44
end
45
path = home .. path:sub(2)
46
47
- path = path:gsub("\\", "/")
+ path = path:gsub("\\", "/"):gsub("/+", "/")
48
return path:sub(-1) == "/" and path:sub(1, -2) or path
49
50
0 commit comments