We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3932a commit 4cc5030Copy full SHA for 4cc5030
Sources/SKSupport/Platform.swift
@@ -63,9 +63,9 @@ extension Platform {
63
switch try? Process.checkNonZeroExit(args: "uname")
64
.trimmingCharacters(in: .whitespacesAndNewlines)
65
.lowercased() {
66
- case .some("darwin"):
+ case "darwin"?:
67
return .darwin
68
- case .some("linux"):
+ case "linux"?:
69
if isDebian() { return .linux(.debian) }
70
if isFedora() { return .linux(.fedora) }
71
if isAndroid() { return .android }
0 commit comments