Skip to content

Commit

Permalink
Changed oneOf to anyOf when multiple custom providers are matched to …
Browse files Browse the repository at this point in the history
…a file
  • Loading branch information
JPinkney committed Jan 31, 2020
1 parent 189621c commit f612a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languageservice/services/yamlSchemaService.ts
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 f612a5b

Please sign in to comment.