Skip to content

Commit fb40d59

Browse files
committed
chore: update implementation
1 parent cac366e commit fb40d59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/result/processors/diff.go

Lines changed: 2 additions & 1 deletion
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)