Skip to content

Commit f2bf7d5

Browse files
authored
Use constants instead of strings for platform versions (#6616)
1 parent 743d441 commit f2bf7d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ let autoProducts = [swiftPMProduct, swiftPMDataModelProduct]
6969
let package = Package(
7070
name: "SwiftPM",
7171
platforms: [
72-
.macOS("12.0"),
73-
.iOS("15.0")
72+
.macOS(.v12),
73+
.iOS(.v15)
7474
],
7575
products:
7676
autoProducts.flatMap {

0 commit comments

Comments
 (0)