Skip to content

Commit 99b6bb5

Browse files
committed
Cleanup. Get rid of double append to execConfig.envVariables
The result of `asMap` is already appended to `execConfig.envVariables`. This commit has zero functional changes.
1 parent 918045b commit 99b6bb5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/AppBundle/command/CmdEnv.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ struct CmdEnv: ConvenienceCopyable {
1212
}
1313
}
1414

15-
@MainActor
1615
var asMap: [String: String] {
17-
var result = config.execConfig.envVariables
16+
var result = [String: String]()
1817
if let windowId {
1918
result[AEROSPACE_WINDOW_ID] = windowId.description
2019
}

0 commit comments

Comments
 (0)