diff --git a/elm/lib/dependabot/elm/language.rb b/elm/lib/dependabot/elm/language.rb index 558db9e233..20ebc57ba3 100644 --- a/elm/lib/dependabot/elm/language.rb +++ b/elm/lib/dependabot/elm/language.rb @@ -16,7 +16,7 @@ class Language < Dependabot::Ecosystem::VersionManager def initialize(raw_version, requirement = nil) super( LANGUAGE, - Version.new(""), + nil, Version.new(raw_version), [], [], diff --git a/maven/lib/dependabot/maven/language.rb b/maven/lib/dependabot/maven/language.rb index 80ea31d274..a0f34dfe7b 100644 --- a/maven/lib/dependabot/maven/language.rb +++ b/maven/lib/dependabot/maven/language.rb @@ -13,20 +13,12 @@ module Maven class Language < Dependabot::Ecosystem::VersionManager extend T::Sig - sig do - params( - detected_version: String, - raw_version: String - ).void - end - def initialize( - detected_version, - raw_version - ) + sig { void } + def initialize super( LANGUAGE, - Version.new(detected_version), - Version.new(raw_version) + nil, + nil ) end end