Skip to content

Commit

Permalink
fixing linting problem sarif.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Jan 19, 2024
1 parent a516a11 commit b548e42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pkg/report/model/sarif.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ var targetTemplate = sarifDescriptorReference{
}

var cweTemplate = cweDescriptorReference{
ToolComponent: cweComponentReference{ComponentReferenceGUID: "1489b0c4-d7ce-4d31-af66-6382a01202e3", ComponentReferenceName: "CWE"},
ToolComponent: cweComponentReference{
ComponentReferenceGUID: "1489b0c4-d7ce-4d31-af66-6382a01202e3",
ComponentReferenceName: "CWE",
},
}

type sarifProperties map[string]interface{}
Expand Down
1 change: 0 additions & 1 deletion pkg/report/sarif.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ func PrintSarifReport(path, filename string, body interface{}) error {
}
sarifReport.RebuildTaxonomies(auxID, auxGUID)
body = sarifReport

}

return ExportJSONReport(path, filename, body)
Expand Down

0 comments on commit b548e42

Please sign in to comment.