Skip to content

Commit 7cbc41e

Browse files
committed
Remap input file paths passed to the emit-module-separately job
Fixes the failure in testDependencyScanningPathRemap.
1 parent f920d43 commit 7cbc41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Jobs/EmitModuleJob.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ extension Driver {
9090

9191
// Add the inputs.
9292
for input in self.inputFiles where input.type.isPartOfSwiftCompilation {
93-
commandLine.append(.path(input.file))
93+
try addPathArgument(input.file, to: &commandLine)
9494
inputs.append(input)
9595
}
9696

0 commit comments

Comments
 (0)