Skip to content

Commit

Permalink
fix regex to support both http and https
Browse files Browse the repository at this point in the history
  • Loading branch information
oxeye-joey committed Dec 6, 2023
1 parent 03fa6ee commit 80f824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/scm_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Provider(Enum):


REMOTE_URL_REGEX = re.compile(
r"(git@|https://)(?P<server_url>.*?)(:|/)(?P<organization>.*)/(?P<name>.*?)(.git|$)"
r"(git@|https?://)(?P<server_url>.*?)(:|/)(?P<organization>.*)/(?P<name>.*?)(.git|$)"
)

# [email protected]:ox-eye/github-actions.git
Expand Down

0 comments on commit 80f824d

Please sign in to comment.