Enable SwiftLint rule 'identifier_name' and handle all violations
This commit is contained in:
parent
7ada4dd96d
commit
e8389eb262
21 changed files with 157 additions and 156 deletions
|
|
@ -44,11 +44,9 @@ public class AppKeychain: KeyStore {
|
|||
}
|
||||
|
||||
public func removeAllContent(withPrefix prefix: String) {
|
||||
for k in keychain.allKeys() {
|
||||
if k.hasPrefix(prefix) {
|
||||
try? keychain.remove(k)
|
||||
}
|
||||
}
|
||||
keychain.allKeys()
|
||||
.filter { $0.hasPrefix(prefix) }
|
||||
.forEach { try? keychain.remove($0) }
|
||||
}
|
||||
|
||||
public static func getPGPKeyPassphraseKey(keyID: String) -> String {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue