Skip to content

Commit f26595e

Browse files
committed
fix wrong constants
1 parent 5b2bf94 commit f26595e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/formats/snapshotconvertor/githubsnapshotconvertor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
)
1313

1414
const (
15-
directDependency = "Direct"
16-
indirectDependency = "Indirect"
15+
directDependency = "direct"
16+
indirectDependency = "indirect"
1717
)
1818

1919
func CreateGithubSnapshotFromSbom(bom *cyclonedx.BOM, snapshotVersion int, scanTime time.Time, jobId, jobCorrelator, commitSha, gitRef, detectorName, detectorVersion, detectorUrl string) (*vcsclient.SbomSnapshot, error) {

0 commit comments

Comments
 (0)