Skip to content

Commit 34e2c25

Browse files
authored
Swift 5.9 manifest, remove trailing commas from function calls (#2685)
Swift allows trailing commas in arrays and argument lists, but not after the last parameter in a function call when it's the final argument.
1 parent d65747c commit 34e2c25

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Package@swift-5.9.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension Target {
4747
.target(
4848
name: name,
4949
dependencies: dependencies,
50-
resources: [.copy("PrivacyInfo.xcprivacy")],
50+
resources: [.copy("PrivacyInfo.xcprivacy")]
5151
)
5252
}
5353
}
@@ -65,7 +65,7 @@ extension Target {
6565
"RxRelay",
6666
.target(name: "RxCocoaRuntime", condition: .when(platforms: [.iOS, .macOS, .tvOS, .watchOS, .visionOS])),
6767
],
68-
resources: [.copy("PrivacyInfo.xcprivacy")],
68+
resources: [.copy("PrivacyInfo.xcprivacy")]
6969
),
7070
]
7171
}
@@ -79,7 +79,7 @@ extension Target {
7979
.target(
8080
name: "RxCocoaRuntime",
8181
dependencies: ["RxSwift"],
82-
resources: [.copy("PrivacyInfo.xcprivacy")],
82+
resources: [.copy("PrivacyInfo.xcprivacy")]
8383
),
8484
]
8585
}
@@ -124,5 +124,5 @@ let package = Package(
124124
],
125125
Target.allTests(),
126126
] as [[Target]]).flatMap(\.self),
127-
swiftLanguageVersions: [.v5],
127+
swiftLanguageVersions: [.v5]
128128
)

0 commit comments

Comments
 (0)