Skip to content

Commit bebcba0

Browse files
committed
[Dependency Scanning] Do not quote paths in the dependency scanner invocation command
Since we are passing in the command-line to the scanner library with individual flags and paths as separate strings, this should not be necessary. Depends on swiftlang/swift#60712 Part of rdar://98985453
1 parent c771555 commit bebcba0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/SwiftDriver/ExplicitModuleBuilds/ModuleDependencyScanning.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ public extension Driver {
331331
fileprivate func itemizedJobCommand(of job: Job, forceResponseFiles: Bool,
332332
using resolver: ArgsResolver) throws -> [String] {
333333
let (args, _) = try resolver.resolveArgumentList(for: job,
334-
forceResponseFiles: forceResponseFiles,
335-
quotePaths: true)
334+
forceResponseFiles: forceResponseFiles)
336335
return args
337336
}
338337
}

Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ final class ExplicitModuleBuildTests: XCTestCase {
10801080

10811081
// Create a simple test case.
10821082
try withTemporaryDirectory { path in
1083-
let main = path.appending(component: "testDependencyScanning.swift")
1083+
let main = path.appending(component: "testDependency Scanning.swift")
10841084
try localFileSystem.writeFileContents(main) {
10851085
$0 <<< "import C;"
10861086
$0 <<< "import E;"

0 commit comments

Comments
 (0)