lib/licensee/projects/github_project.rb in licensee-9.14.0 vs lib/licensee/projects/github_project.rb in licensee-9.14.1

- old
+ new

@@ -13,10 +13,10 @@ module Projects class GitHubProject < Licensee::Projects::Project # If there's any trailing data (e.g. `.git`) this pattern will ignore it: # we're going to use the API rather than clone the repo. GITHUB_REPO_PATTERN = - %r{https://github.com/([^\/]+\/([^\/]+(?=\.git)|[^\/]+)).*}.freeze + %r{https://github.com/([^/]+/([^/]+(?=\.git)|[^/]+)).*}.freeze class RepoNotFound < StandardError; end def initialize(github_url, **args) @repo = github_url[GITHUB_REPO_PATTERN, 1]