Skip to content

Commit

Permalink
Fix: attempt to fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alonsopec89 committed Nov 26, 2024
1 parent bedde58 commit d8f052b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/plugins/dotprompt/picoschema.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func parsePico(val any) (*jsonschema.Schema, error) {
}
return ret, nil
}
return nil, fmt.Errorf("picoschema: value %v of type %[1]T is not an object, slice or string", val)
}

// mapToJSONSchema converts a YAML value to a JSONSchema.
Expand Down

0 comments on commit d8f052b

Please sign in to comment.