fix(checker): ignore dev plugins (#1384)

This commit is contained in:
Kevin Traver 2024-05-18 02:14:12 -06:00 committed by GitHub
parent 05240b4154
commit 2e04a0c02c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ end
function M.fast_check(opts) function M.fast_check(opts)
opts = opts or {} opts = opts or {}
for _, plugin in pairs(Config.plugins) do for _, plugin in pairs(Config.plugins) do
if not plugin.pin and plugin._.installed then if not plugin.pin and not plugin.dev and plugin._.installed then
plugin._.updates = nil plugin._.updates = nil
local info = Git.info(plugin.dir) local info = Git.info(plugin.dir)
local ok, target = pcall(Git.get_target, plugin) local ok, target = pcall(Git.get_target, plugin)