Skip to content
Snippets Groups Projects
Unverified Commit 961a7776 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

fix(datasource/pod): wrong regex (#18533)

parent 2349e559
Branches
Tags
No related merge requests found
...@@ -28,7 +28,7 @@ function shardParts(packageName: string): string[] { ...@@ -28,7 +28,7 @@ function shardParts(packageName: string): string[] {
} }
const githubRegex = regEx( const githubRegex = regEx(
/(?<hostURL>(^https:\/\/[a-zA-z0-9-.]+))\/(?<account>[^/]+)\/(?<repo>[^/]+?)(\.git|\/.*)?$/ /(?<hostURL>^https:\/\/[a-zA-Z0-9-.]+)\/(?<account>[^/]+)\/(?<repo>[^/]+?)(?:\.git|\/.*)?$/
); );
function releasesGithubUrl( function releasesGithubUrl(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment