Use SwiftFormat version 0.48.x
This commit is contained in:
parent
56a5cbe5cb
commit
7cbc14978a
6 changed files with 9 additions and 5 deletions
|
|
@ -34,7 +34,7 @@ public class KeyFileManager {
|
|||
}
|
||||
|
||||
public func importKey(from string: String) throws {
|
||||
guard string.unicodeScalars.allSatisfy({ $0.isASCII }) else {
|
||||
guard string.unicodeScalars.allSatisfy(\.isASCII) else {
|
||||
throw AppError.encoding
|
||||
}
|
||||
keyHandler(string, keyType.getKeychainKey())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue