Merge "selected source/extension" languages

This commit is contained in:
schroda
2026-01-25 17:31:02 +01:00
parent dd1f5bd218
commit 4d7eb74a56
10 changed files with 46 additions and 24 deletions

View File

@@ -87,7 +87,8 @@ const applyMetadataValueMigration = (meta: Metadata, migration: IMetadataMigrati
(oldValue === undefined && meta[metaKey] === oldValue) ||
(oldValue !== undefined && meta[metaKey].match(oldValue))
) {
migratedMetadata[metaKey] = typeof newValue === 'function' ? newValue(meta[metaKey]) : newValue;
migratedMetadata[metaKey] =
typeof newValue === 'function' ? newValue(meta[metaKey], metaKey, appMetadata) : newValue;
}
};