diff --git a/lib/ecosystems/package.go b/lib/ecosystems/package.go index 73ab055..f1fe70c 100644 --- a/lib/ecosystems/package.go +++ b/lib/ecosystems/package.go @@ -79,7 +79,7 @@ func purlToEcosystemsName(purl packageurl.PackageURL) string { default: name = fmt.Sprintf("%s/%s", purl.Namespace, purl.Name) - // ecosyste,ms maven requires the group ID and artifact ID to be separated + // ecosyste.ms maven requires the group ID and artifact ID to be separated // by a colon ":", case packageurl.TypeMaven: name = fmt.Sprintf("%s:%s", purl.Namespace, purl.Name) @@ -92,7 +92,7 @@ func purlToEcosystemsName(purl packageurl.PackageURL) string { // apk packages are only used by alpine, so the namespace isn't used in the // package name for the ecosyste.ms API case packageurl.TypeApk: - name = purl.Name + break } return name