migratePluginToSettings: Fix Logger
This commit is contained in:
parent
9905fc5a50
commit
2279e60802
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ export function migratePluginToSettings(newName: string, oldName: string, ...set
|
|||
|
||||
if (oldPlugin?.enabled) {
|
||||
for (const settingName of settingNames) {
|
||||
logger.info(`Migrating plugin to setting from old name ${oldName} to ${newName}`);
|
||||
logger.info(`Migrating plugin to setting from old name ${oldName} to ${newName} as ${settingName}`);
|
||||
oldPlugin.enabled = false;
|
||||
newPlugin[settingName] = true;
|
||||
if (!newPlugin?.enabled) newPlugin.enabled = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue