diff --git a/collector/utils/extensions/GithubRepo/RepoLoader/index.js b/collector/utils/extensions/GithubRepo/RepoLoader/index.js index 7f1c1c057dee79f5a35cbd70f7fc5cd708b0cb7f..dbe26fa29b09a5fabcb236ad0d01cb6b604747fd 100644 --- a/collector/utils/extensions/GithubRepo/RepoLoader/index.js +++ b/collector/utils/extensions/GithubRepo/RepoLoader/index.js @@ -13,7 +13,9 @@ class RepoLoader { #validGithubUrl() { 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); if (!match) return false;