[json] jsonValidation isnt working in multi extension host setup (#235845)

pull/228373/head^2
Martin Aeschlimann 2024-12-11 18:20:10 +01:00 committed by GitHub
parent 4e8fbaef74
commit 22a35bc9c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ async function startClientWithParticipants(context: ExtensionContext, languagePa
function getSchemaAssociations(_context: ExtensionContext): ISchemaAssociation[] {
const associations: ISchemaAssociation[] = [];
extensions.all.forEach(extension => {
extensions.allAcrossExtensionHosts.forEach(extension => {
const packageJSON = extension.packageJSON;
if (packageJSON && packageJSON.contributes && packageJSON.contributes.jsonValidation) {
const jsonValidation = packageJSON.contributes.jsonValidation;