Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Oct 18, 2023
1 parent 334a7b2 commit b0e97c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xray/utils/resultwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func convertXrayResponsesToSarifRun(extendedResults *ExtendedScanResults, isMult
}
xrayRun := sarif.NewRunWithInformationURI("JFrog Xray SCA", BaseDocumentationURL+"sca")
xrayRun.Tool.Driver.Version = &extendedResults.XrayVersion
if len(xrayJson.Vulnerabilities) > 0 || len(xrayJson.SecurityViolations) > 0 || len(xrayJson.LicensesViolations) > 0 {
if len(xrayJson.Vulnerabilities) > 0 || len(xrayJson.SecurityViolations) > 0 || len(xrayJson.LicensesViolations) > 0 {
if err = extractXrayIssuesToSarifRun(xrayRun, xrayJson); err != nil {
return
}
Expand Down

0 comments on commit b0e97c4

Please sign in to comment.