From 032fe99086f76be5bf6f0dfab70a1f41d7c71ab4 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Tue, 12 Aug 2025 13:13:40 +0100 Subject: [PATCH] Appease formatter --- pkg/lint/recipe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/lint/recipe.go b/pkg/lint/recipe.go index d7b6cb36..1855b6e2 100644 --- a/pkg/lint/recipe.go +++ b/pkg/lint/recipe.go @@ -206,8 +206,8 @@ func LintForErrors(recipe recipe.Recipe) error { } } - if (len(errors) > 0) { - return fmt.Errorf("recipe '%s' failed lint checks:\n" + errors[1:], recipe.Name) + if len(errors) > 0 { + return fmt.Errorf("recipe '%s' failed lint checks:\n"+errors[1:], recipe.Name) } log.Debugf("linting successful, %s is well configured", recipe.Name)