Skip to content

Commit

Permalink
Remove artificial new line
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and jeffwidman committed Nov 8, 2022
1 parent c8271c8 commit cf448a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/lib/dependabot/docker/update_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ def headers(payload: nil, bearer_token: nil)
module Dependabot
module Docker
class UpdateChecker < Dependabot::UpdateCheckers::Base
VERSION_REGEX =
/v?(?<version>[0-9]+(?:\.[_a-z0-9]+|-(?:kb)?[0-9]+)*)/i
VERSION_REGEX = /v?(?<version>[0-9]+(?:\.[_a-z0-9]+|-(?:kb)?[0-9]+)*)/i
VERSION_WITH_SFX = /^#{VERSION_REGEX}(?<suffix>-[a-z][a-z0-9.\-]*)?$/i
VERSION_WITH_PFX = /^(?<prefix>[a-z0-9][a-z0-9.\-]*-)?#{VERSION_REGEX}$/i
VERSION_WITH_PFX_AND_SFX = /^(?<prefix>[a-z\-]+-)?#{VERSION_REGEX}(?<suffix>-[a-z\-]+)?$/i
Expand Down

0 comments on commit cf448a9

Please sign in to comment.