Skip to content

Commit

Permalink
Merge pull request #152 from howardjohn/patch-1
Browse files Browse the repository at this point in the history
Fix invalid sprintf
  • Loading branch information
evanphx committed Dec 15, 2021
2 parents 50fdc0b + f6d37ce commit 6a7ad8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v5/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (n *partialDoc) UnmarshalJSON(data []byte) error {
if t, err := d.Token(); err != nil {
return err
} else if t != startObject {
return &syntaxError{fmt.Sprintf("unexpected JSON token in document node: %s", t)}
return &syntaxError{fmt.Sprintf("unexpected JSON token in document node: %v", t)}
}
for d.More() {
k, err := d.Token()
Expand Down

0 comments on commit 6a7ad8a

Please sign in to comment.