We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59fb050 commit 3e143c6Copy full SHA for 3e143c6
lua/lazy/manage/task/fs.lua
@@ -35,10 +35,8 @@ M.symlink = {
35
run = function(self)
36
local stat = vim.loop.fs_lstat(self.plugin.dir)
37
if stat then
38
- assert(stat.type == "link")
39
if vim.loop.fs_realpath(self.plugin.uri) == vim.loop.fs_realpath(self.plugin.dir) then
40
self.plugin._.installed = true
41
- self.plugin._.cloned = true
42
return
43
else
44
vim.loop.fs_unlink(self.plugin.dir)
0 commit comments