mirror of
https://github.com/harness/drone.git
synced 2025-05-04 02:01:57 +08:00
feat:[AH-1083]: URL fix for NPM package (#3668)
* feat:[AH-1083]: url fix
This commit is contained in:
parent
31519b68d3
commit
d83669c098
@ -93,7 +93,7 @@ func (r *proxy) GetPackageMetadata(ctx context.Context, info npm2.ArtifactInfo)
|
||||
if err != nil {
|
||||
return npm.PackageMetadata{}, err
|
||||
}
|
||||
regURL := r.urlProvider.PackageURL(ctx, info.RootIdentifier, info.RegIdentifier, "npm")
|
||||
regURL := r.urlProvider.PackageURL(ctx, info.RootIdentifier+"/"+info.RegIdentifier, "npm")
|
||||
|
||||
versions := make(map[string]*npm.PackageMetadataVersion)
|
||||
for _, version := range result.Versions {
|
||||
|
Loading…
Reference in New Issue
Block a user