Skip to content

Commit 084d46f

Browse files
authored
PackageSigning: mark SigningEntityType as Sendable (#6390)
This fixes a warning currently triggered when building the `PackageSigning` target: ``` PackageSigning/SigningEntity/SigningEntity.swift:19:10: warning: associated value 'recognized(type:name:organizationalUnit:organization:)' of 'Sendable'-conforming enum 'SigningEntity' has non-sendable type 'SigningEntityType' case recognized(type: SigningEntityType, name: String, organizationalUnit: String, organization: String) ^ PackageSigning/SigningEntity/SigningEntity.swift:79:13: note: consider making enum 'SigningEntityType' conform to the 'Sendable' protocol public enum SigningEntityType: String, Hashable, Codable { ^ , Sendable ```
1 parent 7647f77 commit 084d46f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageSigning/SigningEntity/SigningEntity.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public enum SigningEntity: Hashable, Codable, CustomStringConvertible, Sendable
7676

7777
// MARK: - SigningEntity types that SwiftPM recognizes
7878

79-
public enum SigningEntityType: String, Hashable, Codable {
79+
public enum SigningEntityType: String, Hashable, Codable, Sendable {
8080
case adp // Apple Developer Program
8181
}
8282

0 commit comments

Comments
 (0)