Skip to content

Commit 11b847c

Browse files
committed
Return swiftly bin path, even in tests
1 parent 659c6e7 commit 11b847c

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
@@ -454,11 +454,6 @@ extension Platform {
454454
return cmdAbsolute
455455
}
456456

457-
// If we're running inside an xctest then we don't have a location for this swiftly.
458-
guard let cmdAbsolute, !cmdAbsolute.string.hasSuffix("xctest") else {
459-
return nil
460-
}
461-
462457
return try await fs.exists(atPath: swiftlyHomeBin) ? swiftlyHomeBin : nil
463458
}
464459

0 commit comments

Comments
 (0)