Skip to content

Commit c21674a

Browse files
committed
Explicit return
1 parent 9f9d648 commit c21674a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/TSCBasic/Path.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ private struct UNIXPath: Path {
727727
#if os(Windows)
728728
guard path != "" else {
729729
self.init(normalizingRelativePath: path)
730+
return
730731
}
731732
let fsr: UnsafePointer<Int8> = path.fileSystemRepresentation
732733
defer { fsr.deallocate() }

0 commit comments

Comments
 (0)