Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Oct 3, 2023
1 parent 15ad8d2 commit 5c7d21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xray/utils/resultwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ func addXrayCveIssueToSarifRun(cves []formats.CveRow, issueId, severity string,
rule.WithProperties(cveRuleProperties.Properties)
formattedDirectDependencies, err := getDirectDependenciesFormatted(components)
if err != nil {
return err
return err
}
markdownDescription := getSarifTableDescription(formattedDirectDependencies, maxCveScore, applicable, fixedVersions) + "\n"
rule.WithHelp(&sarif.MultiformatMessageString{
Text: &summary,
Text: &summary,
Markdown: &markdownDescription,
})
}
Expand Down

0 comments on commit 5c7d21a

Please sign in to comment.