From 3502e3c3b1a0e897114e9f1ce08f04c9998a71dd Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 21 Apr 2026 19:36:06 +0100 Subject: [PATCH] Fix compilation using var --- Sources/Container-Compose/Commands/ComposeBuild.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Container-Compose/Commands/ComposeBuild.swift b/Sources/Container-Compose/Commands/ComposeBuild.swift index 39fc8ab..737a201 100644 --- a/Sources/Container-Compose/Commands/ComposeBuild.swift +++ b/Sources/Container-Compose/Commands/ComposeBuild.swift @@ -157,7 +157,7 @@ public struct ComposeBuild: AsyncParsableCommand, @unchecked Sendable { print("\n----------------------------------------") print("Building \(serviceName) -> \(imageTag)") - let buildCommand = try Application.BuildCommand.parse(commands + logging.passThroughCommands()) + var buildCommand = try Application.BuildCommand.parse(commands + logging.passThroughCommands()) try buildCommand.validate() try await buildCommand.run() print("Built \(serviceName) successfully.")