Skip to content

Commit

Permalink
Fix off-by-one error (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored Jul 1, 2022
1 parent 12e5001 commit 31d1c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sbom/cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func goRef(path, version string) string {
path = strings.Join(
append(
[]string{strings.ToLower(p[0]), strings.ToLower(p[1])},
p[2:(len(p)-1)]...,
p[2:]...,
), "/",
)
}
Expand Down

0 comments on commit 31d1c61

Please sign in to comment.