Skip to content

Commit

Permalink
NPM Packages: revert change that empties the repositories url in the …
Browse files Browse the repository at this point in the history
…metadata if the type isn't git
  • Loading branch information
Mai-Lapyst committed Mar 28, 2023
1 parent af00cce commit bf25dc2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/packages/npm/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ func ParsePackage(r io.Reader) (*Package, error) {
meta.Homepage = ""
}

if meta.Repository.Type != "git" {
meta.Repository.URL = ""
}

p := &Package{
Name: meta.Name,
Version: v.String(),
Expand Down

0 comments on commit bf25dc2

Please sign in to comment.