[json] jsonValidation isnt working in multi extension host setup (#235845)
parent
4e8fbaef74
commit
22a35bc9c4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue