Skip to content

Commit 03fdacc

Browse files
committed
Fix a trivial concurrency issue
1 parent c413a45 commit 03fdacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ProcessInvocationBridge/ProcessInvocationBridge.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private let processInvocationBridgeName = "swift-process-invocation-bridge"
2222
@main
2323
struct ProcessInvocationBridge : ParsableCommand {
2424

25-
static var configuration = CommandConfiguration(
25+
static let configuration = CommandConfiguration(
2626
commandName: processInvocationBridgeName,
2727
abstract: "Internal launcher for swift-process-invocation which receives a fd before launching the tool."
2828
)
@@ -40,7 +40,7 @@ struct ProcessInvocationBridge : ParsableCommand {
4040
@Argument(parsing: .captureForPassthrough)
4141
var toolArguments: [String] = []
4242

43-
static var logger: Logger = {
43+
static let logger: Logger = {
4444
var ret = Logger(label: "main")
4545
ret.logLevel = .debug
4646
return ret

0 commit comments

Comments
 (0)