File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def supported_ecosystem(cls):
6464 return {
6565 "npm" : "npm" ,
6666 "maven" : "maven" ,
67- "go " : "go" ,
67+ "golang " : "go" ,
6868 "pypi" : "pypi" ,
6969 "cargo" : "cargo" ,
7070 # Coming soon
@@ -109,7 +109,7 @@ def generate_meta_payload(purl):
109109 return
110110 purl_name = quote (f"{ purl .namespace } :{ purl .name } " , safe = "" )
111111
112- elif purl .type == "go " :
112+ elif purl .type == "golang " :
113113 if purl .namespace :
114114 purl_name = quote (f"{ purl .namespace } /{ purl .name } " , safe = "" )
115115 if not purl_version .startswith ("v" ):
Original file line number Diff line number Diff line change 11pkg:pypi/jinja2@2.4.1
22pkg:maven/org.apache.tomcat/tomcat@10.1.0-M8
33pkg:npm/semver-regex@3.1.3
4- pkg:go /github.com/cloudflare/cfrpki@1.4.1
4+ pkg:golang /github.com/cloudflare/cfrpki@1.4.1
55pkg:cargo/rand@0.5.4
You can’t perform that action at this time.
0 commit comments