Enable SwiftLint rule 'unneeded_parentheses_in_closure_argument' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 23:32:43 +02:00 committed by Mingshen Sun
parent 5cca2c30d8
commit ab80e5297e
8 changed files with 13 additions and 13 deletions

View file

@ -24,7 +24,7 @@ public struct GitCredential {
public func credentialProvider(requestCredentialPassword: @escaping (Credential, String?) -> String?) throws -> GTCredentialProvider {
var attempts = 0
return GTCredentialProvider { (_, _, _) -> (GTCredential?) in
return GTCredentialProvider { _, _, _ -> (GTCredential?) in
var credential: GTCredential?
switch self.credential {