GrantBirki / json-yaml-validate

A GitHub Action to quickly validate JSON and YAML files in a repository
MIT License
28 stars 10 forks source link

Bug Fix: Report all errors, not just one #33

Closed GrantBirki closed 1 year ago

GrantBirki commented 1 year ago

It was pointed out by @johnnyjayjay that if a schema contains multiple errors, this Action only reports the first one it finds and not "all errors". This PR fixes that.

This bug only applied to files that went through the json processor or yaml files that were processed as json files when yaml_as_json was set to "true". Plain yaml files, parsed with the yaml validator, were not effected by this bug.


resolves: https://github.com/GrantBirki/json-yaml-validate/issues/32