Bumping coverage

checking all the corners for cobwebs
This commit is contained in:
Dave Shanley
2022-11-20 10:52:09 -05:00
parent 26d3535e75
commit e1e91d0682
4 changed files with 61 additions and 2 deletions

View File

@@ -122,8 +122,6 @@ func (sp *SchemaProxy) Hash() [32]byte {
if !sp.isReference {
return sp.rendered.Hash()
}
// we only hash inline schemas
return sha256.Sum256([]byte(sp.referenceLookup))
} else {
if !sp.isReference {
// only resolve this proxy if it's not a ref.