File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public final class BuildService {
7575 ) async throws {
7676 let graph : Graph
7777 let config = try await configLoader. loadConfig ( path: path)
78- let cacheStorage = try cacheStorageFactory. cacheStorage ( config: config)
78+ let cacheStorage = try await cacheStorageFactory. cacheStorage ( config: config)
7979 let generator = generatorFactory. building (
8080 config: config,
8181 configuration: configuration,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ final class GenerateService {
4848 let timer = clock. startTimer ( )
4949 let path = try self . path ( path)
5050 let config = try await configLoader. loadConfig ( path: path)
51- let cacheStorage = try cacheStorageFactory. cacheStorage ( config: config)
51+ let cacheStorage = try await cacheStorageFactory. cacheStorage ( config: config)
5252 let generator = generatorFactory. generation (
5353 config: config,
5454 sources: sources,
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ final class TestService { // swiftlint:disable:this type_body_length
192192 }
193193 // Load config
194194 let config = try await configLoader. loadConfig ( path: path)
195- let cacheStorage = try cacheStorageFactory. cacheStorage ( config: config)
195+ let cacheStorage = try await cacheStorageFactory. cacheStorage ( config: config)
196196
197197 let testGenerator = generatorFactory. testing (
198198 config: config,
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ import XcodeGraph
66
77@Mockable
88public protocol CacheStorageFactorying {
9- func cacheStorage( config: Config ) throws -> CacheStoring
9+ func cacheStorage( config: Config ) async throws -> CacheStoring
1010}
You can’t perform that action at this time.
0 commit comments