Run updated SwiftFormat
This commit is contained in:
parent
a49f0ee5e0
commit
1a8692bde3
6 changed files with 11 additions and 11 deletions
|
|
@ -22,7 +22,7 @@ enum ScannableKeyType {
|
|||
|
||||
var headerStart: String {
|
||||
switch self {
|
||||
case .pgpPublic, .pgpPrivate:
|
||||
case .pgpPrivate, .pgpPublic:
|
||||
return "-----BEGIN PGP \(visibility.uppercased()) KEY BLOCK-----"
|
||||
case .sshPrivate:
|
||||
return "-----BEGIN"
|
||||
|
|
@ -31,7 +31,7 @@ enum ScannableKeyType {
|
|||
|
||||
var footerStart: String {
|
||||
switch self {
|
||||
case .pgpPublic, .pgpPrivate:
|
||||
case .pgpPrivate, .pgpPublic:
|
||||
return "-----END PGP \(visibility.uppercased())"
|
||||
case .sshPrivate:
|
||||
return "-----END"
|
||||
|
|
@ -40,7 +40,7 @@ enum ScannableKeyType {
|
|||
|
||||
var footerEnd: String {
|
||||
switch self {
|
||||
case .pgpPublic, .pgpPrivate:
|
||||
case .pgpPrivate, .pgpPublic:
|
||||
return "KEY BLOCK-----"
|
||||
case .sshPrivate:
|
||||
return "KEY-----"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue