From 99baa2edd493af15ffd98f39808fac5c4a9b12f7 Mon Sep 17 00:00:00 2001 From: Jeaeun Kim Date: Sun, 8 Mar 2026 22:05:31 +0900 Subject: [PATCH] chore: fix lint Signed-off-by: Jeaeun Kim --- pkg/cmd/template.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cmd/template.go b/pkg/cmd/template.go index 556822f0d..e56fefc17 100644 --- a/pkg/cmd/template.go +++ b/pkg/cmd/template.go @@ -190,9 +190,8 @@ func newTemplateCmd(cfg *action.Configuration, out io.Writer) *cobra.Command { if savedErr != nil && settings.Debug { // assume the manifest itself is too malformed to be rendered return savedErr - } else { - return fmt.Errorf("could not find template %s in chart", f) } + return fmt.Errorf("could not find template %s in chart", f) } } for _, m := range manifestsToRender {