Skip to content

Commit ee06a80

Browse files
committed
Cleanup formatting
1 parent d239f04 commit ee06a80

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Sources/PackageLoading/ManifestLoader.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,18 @@ extension ManifestLoaderProtocol {
201201
delegateQueue: DispatchQueue
202202
) async throws -> Manifest {
203203
// 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+
)
205209
let manifestToolsVersion = try ToolsVersionParser.parse(manifestPath: manifestPath, fileSystem: fileSystem)
206210
// 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+
)
208216

209217
return try await self.load(
210218
manifestPath: manifestPath,
@@ -651,7 +659,7 @@ public final class ManifestLoader: ManifestLoaderProtocol {
651659
)
652660
]).write(to: vfsOverlayTempFilePath, fileSystem: localFileSystem)
653661

654-
let _ = try await validateImports(
662+
try await validateImports(
655663
manifestPath: manifestTempFilePath,
656664
toolsVersion: toolsVersion
657665
)

0 commit comments

Comments
 (0)