brew style --fix
This commit is contained in:
parent
827fc87cde
commit
b8aa619f2f
@ -1070,11 +1070,11 @@ class GitHubGitDownloadStrategy < GitDownloadStrategy
|
|||||||
super
|
super
|
||||||
|
|
||||||
match_data = %r{^https?://github\.com/(?<user>[^/]+)/(?<repo>[^/]+)\.git$}.match(@url)
|
match_data = %r{^https?://github\.com/(?<user>[^/]+)/(?<repo>[^/]+)\.git$}.match(@url)
|
||||||
if match_data
|
return unless match_data
|
||||||
|
|
||||||
@user = match_data[:user]
|
@user = match_data[:user]
|
||||||
@repo = match_data[:repo]
|
@repo = match_data[:repo]
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
def commit_outdated?(commit)
|
def commit_outdated?(commit)
|
||||||
@last_commit ||= GitHub.last_commit(@user, @repo, @ref, version)
|
@last_commit ||= GitHub.last_commit(@user, @repo, @ref, version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user