Skip to content

Commit bf25dc2

Browse files
committed
NPM Packages: revert change that empties the repositories url in the metadata if the type isn't git
1 parent af00cce commit bf25dc2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/packages/npm/creator.go

-4
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ func ParsePackage(r io.Reader) (*Package, error) {
205205
meta.Homepage = ""
206206
}
207207

208-
if meta.Repository.Type != "git" {
209-
meta.Repository.URL = ""
210-
}
211-
212208
p := &Package{
213209
Name: meta.Name,
214210
Version: v.String(),

0 commit comments

Comments
 (0)