We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aef445 commit d915513Copy full SHA for d915513
Sources/TSCBasic/Path.swift
@@ -550,7 +550,7 @@ private struct UNIXPath: Path {
550
var result: [WCHAR] = Array<WCHAR>(repeating: 0, count: Int(MAX_PATH + 1))
551
552
_ = path.standardizingPathSeparator().withCString(encodedAs: UTF16.self) {
553
- PathCchCanonicalize($0, result.length, $0)
+ PathCchCanonicalize(result, result.length, $0)
554
}
555
self.init(string: String(decodingCString: result, as: UTF16.self))
556
#else
0 commit comments