Skip to content

Commit

Permalink
Small typo (#10295)
Browse files Browse the repository at this point in the history
Typo I noticed while reading this file
  • Loading branch information
yeikel authored Jul 28, 2024
1 parent f97969f commit 16f4c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/lib/dependabot/docker/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def initialize(version)
release_part, update_part = T.must(T.must(parsed_version)[:version]).split("_", 2)

# The numeric_version is needed here to validate the version string (ex: 20.9.0-alpine3.18)
# when the call is made via Depenedabot Api to convert the image version to semver.
# when the call is made via Dependabot Api to convert the image version to semver.
release_part = Tag.new(T.must(release_part).chomp(".").chomp("-").chomp("_")).numeric_version

@release_part = T.let(Dependabot::Version.new(T.must(release_part).tr("-", ".")), Dependabot::Version)
Expand Down

0 comments on commit 16f4c43

Please sign in to comment.