File tree 1 file changed +4
-4
lines changed
Sources/AWSLambdaRuntimeCore
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
76
76
77
77
} else {
78
78
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,
81
81
// let's start a local server for testing
82
82
try await Lambda . withLocalServer ( invocationEndpoint: Lambda . env ( " LOCAL_LAMBDA_SERVER_INVOCATION_ENDPOINT " ) )
83
83
{
@@ -94,10 +94,10 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
94
94
)
95
95
}
96
96
}
97
- #else
97
+ #else
98
98
// in release mode, we can't start a local server because the local server code is not compiled.
99
99
throw LambdaRuntimeError ( code: . missingLambdaRuntimeAPIEnvironmentVariable)
100
- #endif
100
+ #endif
101
101
}
102
102
}
103
103
}
You can’t perform that action at this time.
0 commit comments