Skip to content

Commit acabb1d

Browse files
authored
Merge pull request #1490 from ahoppen/resolve-symlinks-toolchain-txt
Resolve symlinks in toolchain path when creating sourcekitd reproducer bundle
2 parents 9f5c404 + cb016cd commit acabb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Diagnose/ReproducerBundle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func makeReproducerBundle(for requestInfo: RequestInfo, toolchain: Toolchain, bu
2626
encoding: .utf8
2727
)
2828
if let toolchainPath = toolchain.path {
29-
try toolchainPath.pathString
29+
try toolchainPath.asURL.resolvingSymlinksInPath().path
3030
.write(
3131
to: bundlePath.appendingPathComponent("toolchain.txt"),
3232
atomically: true,

0 commit comments

Comments
 (0)