fix: don't check updates for local plugins

This commit is contained in:
AThePeanut4 2024-06-10 03:02:07 +02:00
commit 9de0eedb3e
No known key found for this signature in database
GPG key ID: 52218D91FC13009D
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ local M = {}
M.log = {
---@param opts {updated?:boolean, check?: boolean}
skip = function(plugin, opts)
if opts.check and plugin.pin then
if opts.check and (plugin.pin or plugin._.is_local) then
return true
end
if opts.updated and not (plugin._.updated and plugin._.updated.from ~= plugin._.updated.to) then