Skip to content

Commit 7aad0c8

Browse files
committed
STAC-0: ignore a noctx linting issue in main_test.go
1 parent 01d237b commit 7aad0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func TestExitCodeOnError(t *testing.T) {
190190
main()
191191
return
192192
}
193-
cmd := exec.Command(os.Args[0], "-test.run=TestExitCodeOnError") //nolint:gosec
193+
cmd := exec.Command(os.Args[0], "-test.run=TestExitCodeOnError") //nolint:gosec,noctx
194194
cmd.Env = append(os.Environ(), "BE_CRASHER=1")
195195
err := cmd.Run()
196196
if e, ok := err.(*exec.ExitError); ok && !e.Success() {

0 commit comments

Comments
 (0)