Format code with SwiftFormat automatically in every build
This commit is contained in:
parent
f167ab7549
commit
7f9f0e43b2
100 changed files with 1124 additions and 1063 deletions
|
|
@ -10,7 +10,6 @@ import Intents
|
|||
import passKit
|
||||
|
||||
class IntentHandler: INExtension {
|
||||
|
||||
override func handler(for intent: INIntent) -> Any {
|
||||
guard intent is SyncRepositoryIntent else {
|
||||
fatalError("Unhandled intent type \(intent).")
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import Intents
|
|||
import passKit
|
||||
|
||||
public class SyncRepositoryIntentHandler: NSObject, SyncRepositoryIntentHandling {
|
||||
|
||||
private let passwordStore = PasswordStore.shared
|
||||
private let keychain = AppKeychain.shared
|
||||
|
||||
|
|
@ -24,7 +23,7 @@ public class SyncRepositoryIntentHandler: NSObject, SyncRepositoryIntentHandling
|
|||
}
|
||||
}
|
||||
|
||||
public func handle(intent: SyncRepositoryIntent, completion: @escaping (SyncRepositoryIntentResponse) -> Void) {
|
||||
public func handle(intent _: SyncRepositoryIntent, completion: @escaping (SyncRepositoryIntentResponse) -> Void) {
|
||||
guard passwordStore.repositoryExists() else {
|
||||
completion(SyncRepositoryIntentResponse(code: .noRepository, userActivity: nil))
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue