Skip to content

Commit 40d22da

Browse files
authored
Merge pull request #230 from owenv/owenv/windows-release-path-parsing
Fix Windows path parsing when the package is built in release configuration
2 parents 5695a88 + 595c862 commit 40d22da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/System/Internals/Mocking.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ internal var mockingEnabled: Bool {
130130
@inline(__always)
131131
internal var forceWindowsPaths: Bool? {
132132
#if !ENABLE_MOCKING
133-
return false
133+
return nil
134134
#else
135135
return MockingDriver.forceWindowsPaths
136136
#endif

0 commit comments

Comments
 (0)