Skip to content

Commit 58ab492

Browse files
committed
cmd/govulncheck: remove unnecessary fixups
Change-Id: I5daa77a314fe03919766d8a0d9bd0799b3ae7868 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/632235 Reviewed-by: Ian Cottrell <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent e45fa10 commit 58ab492

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

cmd/govulncheck/testdata/common/config.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"sbom": false,
33
"fixups": [
4-
{
5-
"pattern": "Scanning your code and (\\d+) packages across (\\d+)",
6-
"replace": "Scanning your code and P packages across M"
7-
},
84
{
95
"pattern": "Scanner: govulncheck@v.*",
106
"replace": "Scanner: [email protected]"
@@ -25,10 +21,6 @@
2521
"pattern": "package (.*) is not in (GOROOT|std) (.*)",
2622
"replace": "package foo is not in GOROOT (/tmp/foo)"
2723
},
28-
{
29-
"pattern": "modified (.*)\\)",
30-
"replace": "modified 01 Jan 21 00:00 UTC)"
31-
},
3224
{
3325
"pattern": "Go: (go1.[\\.\\d]*|devel(.*)).*",
3426
"replace": "Go: go1.18"

cmd/govulncheck/testdata/main/config.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"pattern": "file:///(.*)/testdata/(.*)/vulndb",
1010
"replace": "testdata/vulndb"
1111
},
12-
{
13-
"pattern": "modified (.*)\\)",
14-
"replace": "modified 01 Jan 21 00:00 UTC)"
15-
},
1612
{
1713
"pattern": "\"go_version\": \"(go(.*)|devel(.*))\"",
1814
"replace": "\"go_version\": \"go1.18\""

cmd/govulncheck/testdata/stdlib/config.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
"replace": "\"offset\": \u003co\u003e",
2222
"comment": "modify position offsets in json"
2323
},
24-
{
25-
"pattern": "Scanning your code and (\\d+) packages across (\\d+)",
26-
"replace": "Scanning your code and P packages across M"
27-
},
28-
{
29-
"pattern": "Scanner: govulncheck@v.*",
30-
"replace": "Scanner: [email protected]"
31-
},
3224
{
3325
"pattern": "\"scanner_version\": \"[^\"]*\"",
3426
"replace": "\"scanner_version\": \"v0.0.0-00000000000-20000101010101\""

0 commit comments

Comments
 (0)