Skip to content

Commit 8a5a963

Browse files
committed
fix swiftformat error
1 parent 304e2f8 commit 8a5a963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AmplifyPlugins/Predictions/AWSPredictionsPlugin/Liveness/Service/FaceLivenessSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public final class FaceLivenessSession: LivenessService {
212212
let serverDate else {
213213
onServiceException(.init(event: exceptionEvent))
214214
// send onComplete with runtime error close code
215-
if let runtimeError = URLSessionWebSocketTask.CloseCode(rawValue: 4005) {
215+
if let runtimeError = URLSessionWebSocketTask.CloseCode(rawValue: 4_005) {
216216
onComplete(.unexpectedClosure(runtimeError))
217217
}
218218
return .stopAndInvalidateSession

0 commit comments

Comments
 (0)