Skip to content

Commit 8d4138d

Browse files
TTOzzigithub-actions[bot]
authored andcommitted
[Auto] Run swift-format
1 parent 7d738c8 commit 8d4138d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Core/NetworkCore/Sources/RetryInterceptor.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ import Foundation
1010
import Moya
1111

1212
final class RetryInterceptor: RequestInterceptor {
13-
13+
1414
private let retryLimit = DefaultConfig.retryLimit
1515

16-
func retry(_ request: Request, for session: Session, dueTo error: Error, completion: @escaping (RetryResult) -> Void) {
16+
func retry(
17+
_ request: Request, for session: Session, dueTo error: Error,
18+
completion: @escaping (RetryResult) -> Void
19+
) {
1720
let retryCount = request.retryCount
1821
if retryCount < retryLimit {
1922
completion(.retryWithDelay(1 * pow(2, Double(retryCount))))

0 commit comments

Comments
 (0)