Skip to content

Commit 4cc5030

Browse files
compnerdahoppen
andauthored
Update Sources/SKSupport/Platform.swift
Co-authored-by: Alex Hoppen <[email protected]>
1 parent 6f3932a commit 4cc5030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SKSupport/Platform.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ extension Platform {
6363
switch try? Process.checkNonZeroExit(args: "uname")
6464
.trimmingCharacters(in: .whitespacesAndNewlines)
6565
.lowercased() {
66-
case .some("darwin"):
66+
case "darwin"?:
6767
return .darwin
68-
case .some("linux"):
68+
case "linux"?:
6969
if isDebian() { return .linux(.debian) }
7070
if isFedora() { return .linux(.fedora) }
7171
if isAndroid() { return .android }

0 commit comments

Comments
 (0)