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