brew style --fix

This commit is contained in:
Douglas Eichelberger 2023-03-15 18:21:41 -07:00
parent 827fc87cde
commit b8aa619f2f
2 changed files with 11 additions and 11 deletions

View File

@ -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)