From 42b5d821fe0fa6a1e92619354b76cf72759bb289 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Thu, 4 Jul 2024 12:31:12 +0530 Subject: [PATCH] fix: linter complaint --- cliv2/cmd/cliv2/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliv2/cmd/cliv2/main.go b/cliv2/cmd/cliv2/main.go index 87477b2403..93c416050d 100644 --- a/cliv2/cmd/cliv2/main.go +++ b/cliv2/cmd/cliv2/main.go @@ -472,7 +472,7 @@ func displayError(err error, userInterface ui.UserInterface, config configuratio } func outputError(output []workflow.Data, err error, userInterface ui.UserInterface) { - if output != nil && len(output) > 0 { + if len(output) > 0 { s := stringify(output) outputString(userInterface, s) }