Skip to content

Commit

Permalink
Change oneOf to anyOf for when multiple custom schema providers are a…
Browse files Browse the repository at this point in the history
…ctivated on one file
  • Loading branch information
JPinkney committed Jan 31, 2020
1 parent 5391dde commit 6bb4167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageservice/services/yamlSchemaService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class YAMLSchemaService extends JSONSchemaService {
({
'errors': [],
'schema': {
'oneOf': schemas.map(schemaObj => schemaObj.schema)
'anyOf': schemas.map(schemaObj => schemaObj.schema)
}
})
, err => resolveSchema());
Expand Down

0 comments on commit 6bb4167

Please sign in to comment.