Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroluchko authored and harsh62 committed Jan 7, 2025
1 parent 40d33b9 commit 3351577
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct AWSCognitoAuthCredentialStore {
let oldAccessGroup = retrieveStoredAccessGroup()
if migrateKeychainItemsOfUserSession {
try? migrateKeychainItemsToAccessGroup()
} else if oldAccessGroup == nil && oldAccessGroup != accessGroup{
} else if oldAccessGroup == nil && oldAccessGroup != accessGroup {
try? KeychainStore(service: service)._removeAll()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class MockKeychainStoreBehavior: KeychainStoreBehavior {

let data: String
let removeAllHandler: VoidHandler?
let mockKey: String = "mockKey"

init(data: String,
removeAllHandler: VoidHandler? = nil) {
Expand All @@ -42,5 +41,4 @@ class MockKeychainStoreBehavior: KeychainStoreBehavior {
func _removeAll() throws {
removeAllHandler?()
}

}

0 comments on commit 3351577

Please sign in to comment.