Skip to content

Commit

Permalink
source_url in Maven::UpdaterChecker::RequirementsUpdater can be `…
Browse files Browse the repository at this point in the history
…nil` (#10876)
  • Loading branch information
JamieMagee authored Oct 31, 2024
1 parent e34337c commit 7289d64
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RequirementsUpdater
params(
requirements: T::Array[T::Hash[Symbol, T.untyped]],
latest_version: T.nilable(T.any(Version, String)),
source_url: String,
source_url: T.nilable(String),
properties_to_update: T::Array[String]
).void
end
Expand Down Expand Up @@ -68,7 +68,7 @@ def updated_requirements
sig { returns(T.nilable(Version)) }
attr_reader :latest_version

sig { returns(String) }
sig { returns(T.nilable(String)) }
attr_reader :source_url

sig { returns(T::Array[String]) }
Expand Down

0 comments on commit 7289d64

Please sign in to comment.