Skip to content

Commit

Permalink
fix: linter complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Jul 4, 2024
1 parent c18e1be commit 42b5d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliv2/cmd/cliv2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 42b5d82

Please sign in to comment.