Skip to content

Commit

Permalink
Simplified disabling SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Feb 6, 2025
1 parent 1bb1c63 commit fb5795c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class CryptomatorHubAuthenticator: HubDeviceRegistering, HubKeyReceiving

public init() {}

// swiftlint:disable cyclomatic_complexity
// swiftlint:disable:next cyclomatic_complexity
public func receiveKey(authState: OIDAuthState, vaultConfig: UnverifiedVaultConfig) async throws -> HubAuthenticationFlow {
guard let hubConfig = vaultConfig.allegedHubConfig, let vaultBaseURL = getVaultBaseURL(from: vaultConfig) else {
throw CryptomatorHubAuthenticatorError.invalidVaultConfig
Expand Down Expand Up @@ -101,8 +101,6 @@ public class CryptomatorHubAuthenticator: HubDeviceRegistering, HubKeyReceiving
return .success(.init(encryptedUserKey: encryptedUserKeyJWE, encryptedVaultKey: encryptedVaultKeyJWE, header: unlockHeader))
}

// swiftlint:enable cyclomatic_complexity

/**
Registers a new device.

Expand Down

0 comments on commit fb5795c

Please sign in to comment.