Skip to content

Commit

Permalink
Update reader.go (#320)
Browse files Browse the repository at this point in the history
Removing extra `return nil` that results in unreachable code.

Co-authored-by: Tim Burks <[email protected]>
  • Loading branch information
khushpatil7 and timburks authored Apr 2, 2022
1 parent e954645 commit df655de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jsonschema/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func NewSchemaFromObject(jsonData *yaml.Node) *Schema {

default:
fmt.Printf("schemaValue: unexpected node %+v\n", jsonData)
return nil
}

return nil
Expand Down

0 comments on commit df655de

Please sign in to comment.