Skip to content

Commit 9dc78e3

Browse files
committed
pipe.FinishEarly: suppress a different linter's warning
1 parent 24c7360 commit 9dc78e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pipe/pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Env struct {
2121
// request that the iteration be ended early (possibly without reading
2222
// all of its input). This "error" is considered a successful return,
2323
// and is not reported to the caller.
24-
//nolint:revive
24+
//nolint:errname
2525
var FinishEarly = errors.New("finish stage early")
2626

2727
// Pipeline represents a Unix-like pipe that can include multiple

0 commit comments

Comments
 (0)