Skip to content

Commit 656cf43

Browse files
committed
fix(plugin): don't check if dir exists for virtual plugins
1 parent b08dba8 commit 656cf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/manage/task/plugin.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ M.docs = {
9999

100100
M.exists = {
101101
skip = function(plugin)
102-
return not plugin._.is_local
102+
return not plugin._.is_local or plugin.virtual
103103
end,
104104
run = function(self)
105105
if not Util.file_exists(self.plugin.dir) then

0 commit comments

Comments
 (0)