Skip to content

Commit 8f1a52d

Browse files
committed
Don't try to place a file next to standardOutput
1 parent 6132321 commit 8f1a52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ extension Driver {
271271
if let input = input {
272272
if let outputFileMapPath = outputFileMap?.existingOutput(inputFile: input.file, outputType: outputType) {
273273
outputPath = outputFileMapPath
274-
} else if let output = inputOutputMap[input], compilerOutputType != nil {
274+
} else if let output = inputOutputMap[input], output.file != .standardOutput, compilerOutputType != nil {
275275
// Alongside primary output
276276
outputPath = output.file.replacingExtension(with: outputType)
277277
} else {

0 commit comments

Comments
 (0)