mirror of https://github.com/licensee/licensee.git
rubocop
This commit is contained in:
parent
c70e2c14bd
commit
533c63af20
|
@ -12,7 +12,8 @@ module Licensee
|
|||
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)|[^\/]+)).*}
|
||||
GITHUB_REPO_PATTERN =
|
||||
%r{https://github.com/([^\/]+\/([^\/]+(?=\.git)|[^\/]+)).*}
|
||||
|
||||
class RepoNotFound < StandardError; end
|
||||
|
||||
|
|
Loading…
Reference in New Issue