Skip to content

Commit

Permalink
Or I don't even need it twice?
Browse files Browse the repository at this point in the history
  • Loading branch information
atjeff committed Jan 30, 2020
1 parent 4dd421e commit dd3eead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function getRetryConfig(err: GaxiosError) {

// Determine if we should retry the request
const shouldRetryFn = config.shouldRetry || shouldRetryRequest;
if (!(await await shouldRetryFn(err))) {
if (!(await shouldRetryFn(err))) {
return {shouldRetry: false, config: err.config};
}

Expand Down

0 comments on commit dd3eead

Please sign in to comment.