Commit ab1a78c
committed
refactor: use utils.SarifReport in semgrepRunner.go
- Updated semgrepRunner.go to utilize the SarifReport structure from the utils package, improving code organization and maintainability.
- Removed the local definition of SarifReport to streamline the codebase.1 parent 810a141 commit ab1a78c
1 file changed
Lines changed: 2 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 13 | | |
29 | 14 | | |
30 | | - | |
| 15 | + | |
31 | 16 | | |
32 | 17 | | |
33 | 18 | | |
| |||
0 commit comments