1
0
Fork 0

Fix typo in variable name in GitHubDriver

pull/7589/head
Pierre du Plessis 2018-08-27 09:13:52 +02:00 committed by GitHub
parent 3b587eed21
commit 33341130a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ class GitHubDriver extends VcsDriver
return $this->attemptCloneFallback();
}
$rateLimited = $githubUtil->isRateLimited($e->getHeaders());
$rateLimited = $gitHubUtil->isRateLimited($e->getHeaders());
if (!$this->io->hasAuthentication($this->originUrl)) {
if (!$this->io->isInteractive()) {
@ -392,7 +392,7 @@ class GitHubDriver extends VcsDriver
}
if ($rateLimited) {
$rateLimit = $githubUtil->getRateLimit($e->getHeaders());
$rateLimit = $gitHubUtil->getRateLimit($e->getHeaders());
$this->io->writeError(sprintf(
'<error>GitHub API limit (%d calls/hr) is exhausted. You are already authorized so you have to wait until %s before doing more requests</error>',
$rateLimit['limit'],