diff --git a/.swiftlint.yml b/.swiftlint.yml index 01fe2b5..3b4115a 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -20,6 +20,7 @@ whitelist_rules: - colon - comma - compiler_protocol_init + - computed_accessors_order - conditional_returns_on_newline - contains_over_filter_count - contains_over_filter_is_empty diff --git a/passKit/Models/PasswordStore.swift b/passKit/Models/PasswordStore.swift index 59a8d63..964eba5 100644 --- a/passKit/Models/PasswordStore.swift +++ b/passKit/Models/PasswordStore.swift @@ -36,21 +36,21 @@ public class PasswordStore { } public var gitPassword: String? { - set { - AppKeychain.shared.add(string: newValue, for: Globals.gitPassword) - } get { AppKeychain.shared.get(for: Globals.gitPassword) } + set { + AppKeychain.shared.add(string: newValue, for: Globals.gitPassword) + } } public var gitSSHPrivateKeyPassphrase: String? { - set { - AppKeychain.shared.add(string: newValue, for: Globals.gitSSHPrivateKeyPassphrase) - } get { AppKeychain.shared.get(for: Globals.gitSSHPrivateKeyPassphrase) } + set { + AppKeychain.shared.add(string: newValue, for: Globals.gitSSHPrivateKeyPassphrase) + } } private let fm = FileManager.default