Skip to content

Commit 9f103e4

Browse files
authored
Include more platforms in availability (#539)
1 parent 99e2e97 commit 9f103e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/count-lines/CountLines.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extension CountLines {
5858
}
5959

6060
mutating func run() async throws {
61-
guard #available(macOS 12, *) else {
61+
guard #available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *) else {
6262
print("'count-lines' isn't supported on this platform.")
6363
return
6464
}

0 commit comments

Comments
 (0)