We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c537260 commit 97662f1Copy full SHA for 97662f1
Sources/Storage/StorageFileApi.swift
@@ -51,9 +51,13 @@ enum FileUpload {
51
}
52
53
#if DEBUG
54
- // It is safe to mark it as unsafe, since this property is only used in tests for overriding the
55
- // boundary value, instead of using the random one.
56
- nonisolated(unsafe) var testingBoundary: String?
+ #if compiler(>=6)
+ // It is safe to mark it as unsafe, since this property is only used in tests for overriding the
+ // boundary value, instead of using the random one.
57
+ nonisolated(unsafe) var testingBoundary: String?
58
+ #else
59
+ var testingBoundary: String?
60
+ #endif
61
#endif
62
63
/// Supabase Storage File API
0 commit comments