mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
ci: show all errors in comment/log
This commit is contained in:
parent
afced1a6b7
commit
2f2ce100fd
1 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,11 @@ async function main() {
|
|||
const data = srcData.filter(d => !masterDataUrls.includes(d.url));
|
||||
|
||||
const errors = data
|
||||
.map(person => Schema.validate(person))
|
||||
.map(person =>
|
||||
Schema.validate(person, {
|
||||
abortEarly: false,
|
||||
})
|
||||
)
|
||||
.filter(v => v.error)
|
||||
.map(v => v.error);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue