mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-20 11:48:31 -06:00
Fix unregister default value
This commit is contained in:
parent
5f3505ba78
commit
6bcb854cde
@ -410,7 +410,7 @@ export class PluginManager implements ServerHook {
|
||||
npmName: string
|
||||
unregister?: boolean // default true
|
||||
}) {
|
||||
const { npmName, unregister } = options
|
||||
const { npmName, unregister = true } = options
|
||||
|
||||
logger.info('Uninstalling plugin %s.', npmName)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user