aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins/plugin-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/plugins/plugin-manager.ts')
-rw-r--r--server/lib/plugins/plugin-manager.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts
index c9beae268..444162a03 100644
--- a/server/lib/plugins/plugin-manager.ts
+++ b/server/lib/plugins/plugin-manager.ts
@@ -408,9 +408,7 @@ export class PluginManager implements ServerHook {
408 private async regeneratePluginGlobalCSS () { 408 private async regeneratePluginGlobalCSS () {
409 await this.resetCSSGlobalFile() 409 await this.resetCSSGlobalFile()
410 410
411 for (const key of Object.keys(this.getRegisteredPlugins())) { 411 for (const plugin of this.getRegisteredPlugins()) {
412 const plugin = this.registeredPlugins[key]
413
414 await this.addCSSToGlobalFile(plugin.path, plugin.css) 412 await this.addCSSToGlobalFile(plugin.path, plugin.css)
415 } 413 }
416 } 414 }