Commit 3eb86d4
internal/scan: change the way convert mode works
This changes convert mode to just modify the source of vulnerabilities
This means it builds the output and handles exit codes like normal.
This fixes the fact that convert does not obey -show flags, or return failure on vulnerabilities.
Change-Id: Ia264d0acbfe49f2ff814be2305e108f144a17d73
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/517156
Run-TryBot: Ian Cottrell <[email protected]>
Reviewed-by: Maceo Thompson <[email protected]>
Reviewed-by: Zvonimir Pavlinovic <[email protected]>
Auto-Submit: Ian Cottrell <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>1 parent e3a5c49 commit 3eb86d4
File tree
2 files changed
+3
-15
lines changed- cmd/govulncheck/testdata
- internal/scan
2 files changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| 60 | + | |
| 61 | + | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
132 | 131 | | |
133 | 132 | | |
134 | 133 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
0 commit comments