notability: fix variable names

This commit is contained in:
Dawid Dziurla 2020-07-22 14:21:06 +02:00 committed by GitHub
parent 6b7f7cb176
commit b4efb2c258
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)