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 4aff4de commit c048ed9Copy full SHA for c048ed9
Sources/TSCBasic/Path.swift
@@ -458,8 +458,8 @@ private struct UNIXPath: Path {
458
PathCchRemoveFileSpec(data, path.count)
459
return String(decodingCString: data, as: UTF16.self)
460
}
461
- // These two expressions represent for the current directory.
462
- if dir == "\\" || dir == "" {
+ // Blank path represents for the current directory.
+ if dir == "" {
463
return "."
464
465
return dir
0 commit comments