notability: fix variable names
This commit is contained in:
parent
6b7f7cb176
commit
b4efb2c258
@ -9,7 +9,7 @@ module SharedAudits
|
|||||||
@github_repo_data ||= {}
|
@github_repo_data ||= {}
|
||||||
@github_repo_data["#{user}/#{repo}"] ||= GitHub.repository(user, repo)
|
@github_repo_data["#{user}/#{repo}"] ||= GitHub.repository(user, repo)
|
||||||
|
|
||||||
@github_data["#{user}/#{repo}"]
|
@github_repo_data["#{user}/#{repo}"]
|
||||||
rescue GitHub::HTTPNotFoundError
|
rescue GitHub::HTTPNotFoundError
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
@ -23,7 +23,7 @@ module SharedAudits
|
|||||||
JSON.parse(out)
|
JSON.parse(out)
|
||||||
end
|
end
|
||||||
|
|
||||||
@gitlab_data["#{user}/#{repo}"]
|
@gitlab_repo_data["#{user}/#{repo}"]
|
||||||
end
|
end
|
||||||
|
|
||||||
def github(user, repo)
|
def github(user, repo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user