Skip to content

Commit

Permalink
Fix lint issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Wayne <[email protected]>
  • Loading branch information
wang-wayne committed Oct 8, 2024
1 parent 42ecbdd commit 0c5b6aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/argo/commands/lint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ spec:
logrus.StandardLogger().ExitFunc = func(int) { fatal = true }
runLint(context.Background(), []string{workflowMultiDocsPath}, true, nil, "pretty", false)

Check failure on line 279 in cmd/argo/commands/lint_test.go

View workflow job for this annotation

GitHub Actions / Lint

Error return value is not checked (errcheck)

require.NoError(t, err)
assert.False(t, fatal, "should not have exited")
})

Expand Down

0 comments on commit 0c5b6aa

Please sign in to comment.