We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac1153 commit b82ab2dCopy full SHA for b82ab2d
Sources/App/Core/Dependencies/ShellClient.swift
@@ -42,10 +42,12 @@ extension ShellClient: DependencyKey {
42
run: { command, path, environment in
43
@Dependency(\.logger) var logger
44
do {
45
- let res = try await ShellOut.shellOut(to: command,
46
- at: path,
47
- logger: logger,
48
- environment: environment)
+ let res = try await ShellOut.shellOut(
+ to: command,
+ at: path,
+ logger: logger,
49
+ environment: (environment ?? [:]).merging(["SPI_PROCESSING": "1"], uniquingKeysWith: { $1 })
50
+ )
51
if !res.stderr.isEmpty {
52
logger.warning("stderr: \(res.stderr)")
53
}
0 commit comments