migratePluginToSettings: Fix Logger

This commit is contained in:
thororen1234 2025-12-24 16:12:13 -05:00
parent 9905fc5a50
commit 2279e60802
No known key found for this signature in database

View file

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