From 9fe67a56d2e474c3d8fd72a94400b6b5c4808d8c Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Tue, 31 Dec 2024 13:59:56 -0800 Subject: [PATCH] add missed nil err return --- internal/svg/svg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/svg/svg.go b/internal/svg/svg.go index 770e0556e4..bc553850b1 100644 --- a/internal/svg/svg.go +++ b/internal/svg/svg.go @@ -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 {