Skip to content

Commit

Permalink
add missed nil err return
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth authored Dec 31, 2024
1 parent d7db344 commit 9fe67a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/svg/svg.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ColorizeError(src []byte, clr color.Color) ([]byte, error) {
if err != nil {
return src, fmt.Errorf("could not marshal svg, falling back to static content: %v", err)
}
return colorized
return colorized, nil
}

type Decoder struct {
Expand Down

0 comments on commit 9fe67a5

Please sign in to comment.