@@ -201,10 +201,18 @@ extension ManifestLoaderProtocol {
201
201
delegateQueue: DispatchQueue
202
202
) async throws -> Manifest {
203
203
// find the manifest path and parse it's tools-version
204
- let manifestPath = try ManifestLoader . findManifest ( packagePath: packagePath, fileSystem: fileSystem, currentToolsVersion: currentToolsVersion)
204
+ let manifestPath = try ManifestLoader . findManifest (
205
+ packagePath: packagePath,
206
+ fileSystem: fileSystem,
207
+ currentToolsVersion: currentToolsVersion
208
+ )
205
209
let manifestToolsVersion = try ToolsVersionParser . parse ( manifestPath: manifestPath, fileSystem: fileSystem)
206
210
// validate the manifest tools-version against the toolchain tools-version
207
- try manifestToolsVersion. validateToolsVersion ( currentToolsVersion, packageIdentity: packageIdentity, packageVersion: packageVersion? . version? . description ?? packageVersion? . revision)
211
+ try manifestToolsVersion. validateToolsVersion (
212
+ currentToolsVersion,
213
+ packageIdentity: packageIdentity,
214
+ packageVersion: packageVersion? . version? . description ?? packageVersion? . revision
215
+ )
208
216
209
217
return try await self . load (
210
218
manifestPath: manifestPath,
@@ -651,7 +659,7 @@ public final class ManifestLoader: ManifestLoaderProtocol {
651
659
)
652
660
] ) . write ( to: vfsOverlayTempFilePath, fileSystem: localFileSystem)
653
661
654
- let _ = try await validateImports (
662
+ try await validateImports (
655
663
manifestPath: manifestTempFilePath,
656
664
toolsVersion: toolsVersion
657
665
)
0 commit comments