Skip to content

Commit 25ebb8d

Browse files
committed
Fix tvOS
1 parent 6444fb9 commit 25ebb8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Configuration/Providers/Files/CommonProviderFileSystem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ package struct LocalCommonProviderFileSystem: Sendable {}
9292
/// - Parameter body: A body closure that performs the file system operation.
9393
/// - Returns: The result of the operation, or `nil` if the file was not found.
9494
/// - Throws: Any error from the operation except file not found errors.
95+
@available(Configuration 1.0, *)
9596
private func returnNilIfMissing<Return>(
9697
_ body: () async throws -> Return
9798
) async throws -> Return? {

0 commit comments

Comments
 (0)