mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
github_packages: improve schema debugging.
This commit is contained in:
parent
b9b3bd2571
commit
fe37be6c30
@ -176,9 +176,9 @@ class GitHubPackages
|
||||
puts
|
||||
ofail "#{Formatter.url(schema_uri)} JSON schema validation failed!"
|
||||
oh1 "Errors"
|
||||
pp schema.validate(json).to_a
|
||||
puts schema.validate(json).to_a.inspect
|
||||
oh1 "JSON"
|
||||
pp json
|
||||
puts json.inspect
|
||||
exit 1
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user