From 516ca59b97d72cb91442617105bc7a322f8a79ec Mon Sep 17 00:00:00 2001 From: kyokuping Date: Sun, 8 Mar 2026 22:05:31 +0900 Subject: [PATCH] chore: fix lint Signed-off-by: kyokuping --- 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 929399f17..0c792977a 100644 --- a/pkg/cmd/template.go +++ b/pkg/cmd/template.go @@ -191,9 +191,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 {