Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 15, 2023
1 parent 591888b commit d162070
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion components/consumers/stdout-json/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ func getRawIssue(scanStartTime time.Time, res *v1.LaunchToolResponse, iss *v1.Is
}

func getEnrichedIssue(scanStartTime time.Time, res *v1.EnrichedLaunchToolResponse, iss *v1.EnrichedIssue) ([]byte, error) {

var sbom map[string]interface{}
if iss.GetRawIssue().GetCycloneDXSBOM() != "" {
if err := json.Unmarshal([]byte(iss.GetRawIssue().GetCycloneDXSBOM()), &sbom); err != nil {
Expand Down
15 changes: 0 additions & 15 deletions components/producers/cdxgen/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ go_binary(
],
)

go_test(
name = "cdxgen_test",
srcs = [
"main.go",
"main_test.go",
],
deps = [
"//api/proto/v1",
"//components/producers",
"//pkg/cyclonedx",
"//pkg/sarif",
"//third_party/go/github.com/stretchr/testify",
],
)

buildkit_distroless_image(
name = "image",
srcs = [":cdxgen-parser"],
Expand Down

0 comments on commit d162070

Please sign in to comment.