Merge pull request #8061 from Homebrew/dawidd6-patch-1

notability: fix variable names
This commit is contained in:
Sean Molenaar 2020-07-22 14:52:25 +02:00 committed by GitHub
commit e768a4eb75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ module SharedAudits
@github_repo_data ||= {}
@github_repo_data["#{user}/#{repo}"] ||= GitHub.repository(user, repo)
@github_data["#{user}/#{repo}"]
@github_repo_data["#{user}/#{repo}"]
rescue GitHub::HTTPNotFoundError
nil
end
@ -23,7 +23,7 @@ module SharedAudits
JSON.parse(out)
end
@gitlab_data["#{user}/#{repo}"]
@gitlab_repo_data["#{user}/#{repo}"]
end
def github(user, repo)