Skip to content

Commit de496e0

Browse files
committed
Don't try to place a file next to standardOutput
1 parent dd4b4b1 commit de496e0

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
@@ -259,7 +259,7 @@ extension Driver {
259259
if let input = input {
260260
if let outputFileMapPath = outputFileMap?.existingOutput(inputFile: input.file, outputType: outputType) {
261261
outputPath = outputFileMapPath
262-
} else if let output = inputOutputMap[input], compilerOutputType != nil {
262+
} else if let output = inputOutputMap[input], output.file != .standardOutput, compilerOutputType != nil {
263263
// Alongside primary output
264264
outputPath = output.file.replacingExtension(with: outputType)
265265
} else {

0 commit comments

Comments
 (0)