mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-04-27 15:07:41 +00:00
style: apply SwiftFormat changes
This commit is contained in:
parent
7976495b27
commit
8bbacfae75
2 changed files with 3 additions and 3 deletions
|
|
@ -119,10 +119,10 @@ enum CaptureError: Error, LocalizedError {
|
||||||
"No displays available for capture."
|
"No displays available for capture."
|
||||||
case .screenRecordingPermissionDenied:
|
case .screenRecordingPermissionDenied:
|
||||||
"Screen recording permission is required. " +
|
"Screen recording permission is required. " +
|
||||||
"Please grant it in System Settings > Privacy & Security > Screen Recording."
|
"Please grant it in System Settings > Privacy & Security > Screen Recording."
|
||||||
case .accessibilityPermissionDenied:
|
case .accessibilityPermissionDenied:
|
||||||
"Accessibility permission is required for some operations. " +
|
"Accessibility permission is required for some operations. " +
|
||||||
"Please grant it in System Settings > Privacy & Security > Accessibility."
|
"Please grant it in System Settings > Privacy & Security > Accessibility."
|
||||||
case .invalidDisplayID:
|
case .invalidDisplayID:
|
||||||
"Invalid display ID provided."
|
"Invalid display ID provided."
|
||||||
case .captureCreationFailed:
|
case .captureCreationFailed:
|
||||||
|
|
|
||||||
|
|
@ -283,7 +283,7 @@ struct JSONOutputTests {
|
||||||
|
|
||||||
for errorCode in errorCodes {
|
for errorCode in errorCodes {
|
||||||
#expect(!errorCode.rawValue.isEmpty)
|
#expect(!errorCode.rawValue.isEmpty)
|
||||||
#expect(errorCode.rawValue.allSatisfy { $0.isASCII })
|
#expect(errorCode.rawValue.allSatisfy(\.isASCII))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue