Skip to content
Snippets Groups Projects
Unverified Commit af84b014 authored by Sean Hatfield's avatar Sean Hatfield Committed by GitHub
Browse files

[FIX] GitHub repo with periods in link fix (#1084)

fix periods in github repo links bug
parent 2c6135aa
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,9 @@ class RepoLoader { ...@@ -13,7 +13,9 @@ class RepoLoader {
#validGithubUrl() { #validGithubUrl() {
const UrlPattern = require("url-pattern"); const UrlPattern = require("url-pattern");
const pattern = new UrlPattern("https\\://github.com/(:author)/(:project)"); const pattern = new UrlPattern(
"https\\://github.com/(:author)/(:project(*))"
);
const match = pattern.match(this.repo); const match = pattern.match(this.repo);
if (!match) return false; if (!match) return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment