Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jan 9, 2025
1 parent d0c0c98 commit d4e5be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion FirebaseRemoteConfig.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ app update.
}
swift_api.source_files = ['FirebaseRemoteConfig/Tests/Swift/SwiftAPI/*.swift',
'FirebaseRemoteConfig/Tests/Swift/FakeUtils/*.swift',
'FirebaseRemoteConfig/Tests/Swift/ObjC/*.[hm]',
]
# Excludes tests that cannot be include in API tests because it requires fetch remote values from
# a real console but only one test can be run without polluting other tests' remote values.
Expand Down
4 changes: 2 additions & 2 deletions FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private var RCInstances = [String: [String: RemoteConfig]]()
/// to fetch, activate and read config results and set default config results on the default
/// Remote Config instance.
@objc(FIRRemoteConfig)
public class RemoteConfig: NSObject, NSFastEnumeration {
open class RemoteConfig: NSObject, NSFastEnumeration {
/// All the config content.
private let configContent: ConfigContent

Expand Down Expand Up @@ -426,7 +426,7 @@ public class RemoteConfig: NSObject, NSFastEnumeration {
/// and avoid calling this method again.
@available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *)
public func fetch() async throws -> RemoteConfigFetchStatus {
return try await withUnsafeThrowingContinuation() { continuation in
return try await withUnsafeThrowingContinuation { continuation in
self.fetch { status, error in
if let error {
continuation.resume(throwing: error)
Expand Down

0 comments on commit d4e5be3

Please sign in to comment.