Skip to content

Commit 7e40537

Browse files
committed
Return swiftly bin path, even in tests
1 parent 53f63b8 commit 7e40537

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/SwiftlyCore/Platform.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,6 @@ extension Platform {
453453
return cmdAbsolute
454454
}
455455

456-
// If we're running inside an xctest then we don't have a location for this swiftly.
457-
guard let cmdAbsolute, !cmdAbsolute.hasSuffix("xctest") else {
458-
return nil
459-
}
460-
461456
return FileManager.default.fileExists(atPath: swiftlyHomeBin) ? swiftlyHomeBin : nil
462457
}
463458

0 commit comments

Comments
 (0)