check error
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 19:13:26 +0200
1 files changed, 3 insertions(+), 0 deletions(-)
jump to
M internal/builder/template.go → internal/builder/template.go
@@ -171,6 +171,9 @@ w := &strings.Builder{} err = tpl.Execute(w, map[string]interface{}{ "css": esc.String(), }) + if err != nil { + return nil, err + } return strings.NewReader(w.String()), nil }