Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from tjgurwara99/tjgurwara99/fixing-issue-with-…
Browse files Browse the repository at this point in the history
…result-code-scanning-upload

Fixing null result in sarif which gets rejected by Code Scanning
  • Loading branch information
tjgurwara99 authored Jul 24, 2023
2 parents 50fcbb1 + 4c96ad8 commit d312cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sarif/sarif.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func FromResult(r *vulncheck.Result) (*Log, error) {
return i.CallSink != 0
})
var j int
var results []Result
var results []Result = make([]Result, 0)
var rules []ReportingDescriptor
for i, v := range filtered {
fn, ok := r.Calls.Functions[v.CallSink]
Expand Down

0 comments on commit d312cdf

Please sign in to comment.