Skip to content

Commit

Permalink
Update pkg/npm/publish.go
Browse files Browse the repository at this point in the history
Co-authored-by: Manjunath <[email protected]>
  • Loading branch information
phgermanov and D074360 authored Oct 30, 2024
1 parent 201a9fa commit 63b800b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/npm/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (exec *Execute) publish(packageJSON, registry, username, password string, p
coordinate.BuildPath = filepath.Dir(packageJSON)
coordinate.URL = registry
coordinate.Packaging = "tgz"
coordinate.PURL = piperutils.GetPurl(filepath.Join(packageJSON, npmBomFilename))
coordinate.PURL = piperutils.GetPurl(filepath.Join(filepath.Dir(packageJSON), npmBomFilename))

*buildCoordinates = append(*buildCoordinates, coordinate)
}
Expand Down

0 comments on commit 63b800b

Please sign in to comment.