Skip to content

Commit

Permalink
fix maven elm language empty version issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kbukum1 committed Dec 26, 2024
1 parent e011e28 commit c03a7cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion elm/lib/dependabot/elm/language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Language < Dependabot::Ecosystem::VersionManager
def initialize(raw_version, requirement = nil)
super(
LANGUAGE,
Version.new(""),
nil,
Version.new(raw_version),
[],
[],
Expand Down
16 changes: 4 additions & 12 deletions maven/lib/dependabot/maven/language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c03a7cd

Please sign in to comment.