Build(deps-dev): bump prettier from 2.2.1 to 2.3.0, run [ciibestpractices eclipsemarketplacedownloads gemdownloads githubdeployments githubtotaldiscussions githubforks githubhacktoberfest githubissuessearch githubpackagejson githubsponsors githubtag jenkinscoverage node npm nuget scoop teamcitybuild testspace] (#6482)
* Build(deps-dev): bump prettier from 2.2.1 to 2.3.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * chore: prettier Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com> Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
79c9e1a1d2
commit
636ed87057
@@ -101,11 +101,8 @@ class GithubApiProvider {
|
||||
let rateLimit, totalUsesRemaining, nextReset
|
||||
if (url.startsWith('/graphql')) {
|
||||
try {
|
||||
;({
|
||||
rateLimit,
|
||||
totalUsesRemaining,
|
||||
nextReset,
|
||||
} = this.getV4RateLimitFromBody(res.body))
|
||||
;({ rateLimit, totalUsesRemaining, nextReset } =
|
||||
this.getV4RateLimitFromBody(res.body))
|
||||
} catch (e) {
|
||||
console.error(
|
||||
`Could not extract rate limit info from response body ${res.body}`
|
||||
@@ -115,11 +112,8 @@ class GithubApiProvider {
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
;({
|
||||
rateLimit,
|
||||
totalUsesRemaining,
|
||||
nextReset,
|
||||
} = this.getV3RateLimitFromHeaders(res.headers))
|
||||
;({ rateLimit, totalUsesRemaining, nextReset } =
|
||||
this.getV3RateLimitFromHeaders(res.headers))
|
||||
} catch (e) {
|
||||
const logHeaders = {
|
||||
'x-ratelimit-limit': res.headers['x-ratelimit-limit'],
|
||||
|
||||
Reference in New Issue
Block a user