Skip to content

Commit 019bde5

Browse files
build(deps): bump github.com/golangci/revgrep from 0.5.3 to 0.6.0 (#5319)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 2502d20 commit 019bde5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ require (
4848
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d
4949
github.com/golangci/misspell v0.6.0
5050
github.com/golangci/plugin-module-register v0.1.1
51-
github.com/golangci/revgrep v0.5.3
51+
github.com/golangci/revgrep v0.6.0
5252
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed
5353
github.com/gordonklaus/ineffassign v0.1.0
5454
github.com/gostaticanalysis/forcetypeassert v0.1.0

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/result/processors/diff.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package processors
22

33
import (
44
"bytes"
5+
"context"
56
"fmt"
67
"io"
78
"os"
@@ -60,7 +61,7 @@ func (p Diff) Process(issues []result.Issue) ([]result.Issue, error) {
6061
RevisionFrom: p.fromRev,
6162
WholeFiles: p.wholeFiles,
6263
}
63-
if err := c.Prepare(); err != nil {
64+
if err := c.Prepare(context.Background()); err != nil {
6465
return nil, fmt.Errorf("can't prepare diff by revgrep: %w", err)
6566
}
6667

0 commit comments

Comments
 (0)