File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/AWSLambdaRuntimeCore Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
7676
7777 } else {
7878
79- #if DEBUG
80- // we're not running on Lambda and we're compiled in DEBUG mode,
79+ #if DEBUG
80+ // we're not running on Lambda and we're compiled in DEBUG mode,
8181 // let's start a local server for testing
8282 try await Lambda . withLocalServer ( invocationEndpoint: Lambda . env ( " LOCAL_LAMBDA_SERVER_INVOCATION_ENDPOINT " ) )
8383 {
@@ -94,10 +94,10 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
9494 )
9595 }
9696 }
97- #else
97+ #else
9898 // in release mode, we can't start a local server because the local server code is not compiled.
9999 throw LambdaRuntimeError ( code: . missingLambdaRuntimeAPIEnvironmentVariable)
100- #endif
100+ #endif
101101 }
102102 }
103103}
You can’t perform that action at this time.
0 commit comments