Skip to content

Commit fc48890

Browse files
committed
fix one more import
1 parent f101c60 commit fc48890

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/AWSLambdaRuntime/Context+Foundation.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
import AWSLambdaRuntimeCore
1616

17+
#if canImport(FoundationEssentials)
18+
import FoundationEssentials
19+
#else
1720
import struct Foundation.Date
21+
#endif
1822

1923
extension LambdaContext {
2024
var deadlineDate: Date {

0 commit comments

Comments
 (0)