Skip to content

Commit

Permalink
Update LocalPluginCache.kt
Browse files Browse the repository at this point in the history
write to file after deleting from cache
  • Loading branch information
Dawsson committed Jul 5, 2024
1 parent a32f95d commit f4ce6d8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ object LocalPluginCache : PluginCache<LocalPlugin>() {
}
}

save()

if (none(LocalPlugin::isPluginPortal)) add(ppLocalPlugin)

PortalLogger.info(PortalLogger.Action.LOAD_PLUGINS, "Loaded ${plugins.size} plugins from local cache")
Expand Down Expand Up @@ -121,4 +123,4 @@ object LocalPluginCache : PluginCache<LocalPlugin>() {
if (plugins.size == 1) ifSingle.invoke(plugins.first())
else ifMore.invoke(plugins)
}
}
}

0 comments on commit f4ce6d8

Please sign in to comment.