Commit e2907ff5 authored by Fabien Catteau's avatar Fabien Catteau

Present sbt, nuget, and go in Dependency List page

Add sbt, nuget, go to package managers presented
by the DependencyList formatter class.

Changelog: fixed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/72021
EE: true
parent 17c9a8fb
......@@ -48,6 +48,12 @@ module Gitlab
'PHP (Composer)'
when 'conan'
'C/C++ (Conan)'
when 'sbt'
'Scala (Sbt)'
when 'nuget'
'C# (Nuget)'
when 'go'
'Go (Go modules)'
else
package_manager
end
......
......@@ -99,6 +99,9 @@ RSpec.describe Gitlab::Ci::Parsers::Security::Formatters::DependencyList do
'maven' | 'Java (Maven)'
'composer' | 'PHP (Composer)'
'conan' | 'C/C++ (Conan)'
'sbt' | 'Scala (Sbt)'
'nuget' | 'C# (Nuget)'
'go' | 'Go (Go modules)'
'' | ''
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment