Skip to content

Commit 4995e6b

Browse files
committed
Return swiftly bin path, even in tests
1 parent eda5209 commit 4995e6b

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
@@ -444,11 +444,6 @@ extension Platform {
444444
return cmdAbsolute
445445
}
446446

447-
// If we're running inside an xctest then we don't have a location for this swiftly.
448-
guard let cmdAbsolute, !cmdAbsolute.hasSuffix("xctest") else {
449-
return nil
450-
}
451-
452447
return FileManager.default.fileExists(atPath: swiftlyHomeBin) ? swiftlyHomeBin : nil
453448
}
454449

0 commit comments

Comments
 (0)