Skip to content

Commit dbb4ef2

Browse files
authored
Fix global security config (#6289)
We didn't actually security when merging.
1 parent 9702161 commit dbb4ef2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/PackageRegistry/RegistryConfiguration.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public struct RegistryConfiguration: Hashable {
4545
for (registry, authentication) in other.registryAuthentication {
4646
self.registryAuthentication[registry] = authentication
4747
}
48+
49+
if let security = other.security {
50+
self.security = security
51+
}
4852
}
4953

5054
public func registry(for package: PackageIdentity) -> Registry? {

0 commit comments

Comments
 (0)