Enable SwiftLint rule 'computed_accessors_order' and fix all violations
This commit is contained in:
parent
3197ef39a3
commit
8a4136b7ce
2 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue