fix(checker): allow git checks only for non-pinned plugins

This commit is contained in:
Tsakiris Tryfon 2022-12-21 12:42:26 +02:00
commit 70e2393f89
2 changed files with 4 additions and 1 deletions

View file

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