Ver código fonte

:bug: After uninstalling the plugin, data synchronization does not uninstall it https://github.com/siyuan-note/siyuan/issues/11277

Daniel 1 ano atrás
pai
commit
c6ab48818b
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      kernel/model/repository.go

+ 2 - 0
kernel/model/repository.go

@@ -2025,6 +2025,8 @@ func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
 	for _, n := range removePluginNameSet.Values() {
 		removePlugins = append(removePlugins, n.(string))
 	}
+
+	logging.LogInfof("reload plugins [upserts=%v, removes=%v]", upsertPlugins, removePlugins)
 	util.BroadcastByType("main", "reloadPlugin", 0, "", map[string]interface{}{
 		"upsertPlugins": upsertPlugins,
 		"removePlugins": removePlugins,