diff options
Diffstat (limited to 'server/lib/plugins/plugin-manager.ts')
-rw-r--r-- | server/lib/plugins/plugin-manager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts index 9086a4c8e..88c5b60d7 100644 --- a/server/lib/plugins/plugin-manager.ts +++ b/server/lib/plugins/plugin-manager.ts | |||
@@ -496,7 +496,7 @@ export class PluginManager implements ServerHook { | |||
496 | 496 | ||
497 | // Delete cache if needed | 497 | // Delete cache if needed |
498 | const modulePath = join(pluginPath, packageJSON.library) | 498 | const modulePath = join(pluginPath, packageJSON.library) |
499 | decachePlugin(pluginPath, modulePath) | 499 | decachePlugin(modulePath) |
500 | const library: PluginLibrary = require(modulePath) | 500 | const library: PluginLibrary = require(modulePath) |
501 | 501 | ||
502 | if (!isLibraryCodeValid(library)) { | 502 | if (!isLibraryCodeValid(library)) { |