make sure the log doesn't get filled with redundant info
This commit is contained in:
@ -305,6 +305,11 @@ function package:ensureadded(force)
|
||||
return false
|
||||
end
|
||||
l:set_load(function()
|
||||
-- ensure that we can't attempt to load a plugin twice via lazy loading
|
||||
if self.loaded then
|
||||
return
|
||||
end
|
||||
|
||||
logger:log("lazy", "triggered %d lazy hooks for %s", #self.lazy_load,
|
||||
self.id)
|
||||
loadpkg(self)
|
||||
|
Reference in New Issue
Block a user