diff options
-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 ca7275366..eab0b3978 100644 --- a/server/lib/plugins/plugin-manager.ts +++ b/server/lib/plugins/plugin-manager.ts | |||
@@ -410,7 +410,7 @@ export class PluginManager implements ServerHook { | |||
410 | npmName: string | 410 | npmName: string |
411 | unregister?: boolean // default true | 411 | unregister?: boolean // default true |
412 | }) { | 412 | }) { |
413 | const { npmName, unregister } = options | 413 | const { npmName, unregister = true } = options |
414 | 414 | ||
415 | logger.info('Uninstalling plugin %s.', npmName) | 415 | logger.info('Uninstalling plugin %s.', npmName) |
416 | 416 | ||