feat(ghsa): add Erlang/Elixir advisory (#165)

This commit is contained in:
MaineK00n 2022-06-29 14:27:31 +00:00 committed by GitHub
parent b87d889278
commit 80fc5a2c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@ var (
Pip SecurityAdvisoryEcosystem = "PIP"
Rubygems SecurityAdvisoryEcosystem = "RUBYGEMS"
Go SecurityAdvisoryEcosystem = "GO"
Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go}
Erlang SecurityAdvisoryEcosystem = "ERLANG"
Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang}
wait = func(i int) time.Duration {
sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)