diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 14:47:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-05 14:47:24 +0200 |
commit | 6bcb854cdea8688a32240bc5719c7d139806e00b (patch) | |
tree | eaa14a2d8179c9e1e6b93beee4084b34e89a1079 /server/lib | |
parent | 5f3505ba78bc05fc61aeca44d95f9a954934c0fc (diff) | |
download | PeerTube-6bcb854cdea8688a32240bc5719c7d139806e00b.tar.gz PeerTube-6bcb854cdea8688a32240bc5719c7d139806e00b.tar.zst PeerTube-6bcb854cdea8688a32240bc5719c7d139806e00b.zip |
Fix unregister default value
Diffstat (limited to 'server/lib')
-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 | ||