Skip to content

Commit

Permalink
refactor: replace ftypes.Gradle with packageurl.TypeGradle
Browse files Browse the repository at this point in the history
Signed-off-by: nikpivkin <[email protected]>
  • Loading branch information
nikpivkin committed Aug 9, 2024
1 parent 65d991c commit 5c0ac6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/purl/purl.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func New(t ftypes.TargetType, metadata types.Metadata, pkg ftypes.Package) (*Pac
var qs packageurl.Qualifiers
name, namespace, qs = parseApk(name, metadata.OS)
qualifiers = append(qualifiers, qs...)
case packageurl.TypeMaven, string(ftypes.Gradle): // TODO: replace with packageurl.TypeGradle once they add it.
case packageurl.TypeMaven, packageurl.TypeGradle:
namespace, name = parseMaven(name)
case packageurl.TypePyPi:
name = parsePyPI(name)
Expand Down

0 comments on commit 5c0ac6c

Please sign in to comment.