Skip to content

Commit 50b9df8

Browse files
committed
swift format
1 parent 06df831 commit 50b9df8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/AWSLambdaRuntime/LambdaRuntime.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
6363
if original {
6464
throw LambdaRuntimeError(code: .moreThanOneLambdaRuntimeInstance)
6565
}
66-
66+
6767
defer {
68-
_isRunning.store(false, ordering: . releasing)
68+
_isRunning.store(false, ordering: .releasing)
6969
}
70-
70+
7171
try await self._run()
7272
}
7373

Tests/AWSLambdaRuntimeTests/LambdaRuntimeTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ struct LambdaRuntimeTests {
4747
try await runtime1.run()
4848
}
4949
}
50-
50+
5151
// wait a small amount to ensure runtime1 task is started
5252
try await Task.sleep(for: .seconds(1))
5353

5454
// Running the second runtime should trigger LambdaRuntimeError
5555
await #expect(throws: LambdaRuntimeError.self) {
5656
try await runtime2.run()
5757
}
58-
58+
5959
// cancel runtime 1 / task 1
6060
print("--- cancelling ---")
6161
taskGroup.cancelAll()

0 commit comments

Comments
 (0)