Fix unregister default value

pull/5769/head
Chocobozzz 2023-05-05 14:47:24 +02:00
parent 5f3505ba78
commit 6bcb854cde
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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)