File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ add_library(SPMBuildCore
14
14
BuildSystemCommand.swift
15
15
BuildSystemDelegate.swift
16
16
BuiltTestProduct.swift
17
- CrossCompilationDestinations .swift
17
+ DestinationsBundle .swift
18
18
PluginContextSerializer.swift
19
19
PluginInvocation.swift
20
20
PluginMessages.swift
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ private extension ArtifactsArchiveMetadata {
64
64
where artifactMetadata. type == . crossCompilationDestination {
65
65
var variants = [ DestinationsBundle . Variant] ( )
66
66
67
- for variant in artifactMetadata. variants {
67
+ for variantMetadata in artifactMetadata. variants {
68
68
let destinationJSONPath = try bundlePath
69
- . appending ( RelativePath ( validating: variant . path) )
69
+ . appending ( RelativePath ( validating: variantMetadata . path) )
70
70
. appending ( component: " destination.json " )
71
71
72
72
guard fileSystem. exists ( destinationJSONPath) else {
@@ -88,7 +88,7 @@ private extension ArtifactsArchiveMetadata {
88
88
fromFile: destinationJSONPath, fileSystem: fileSystem
89
89
)
90
90
91
- variants. append ( . init( metadata: variant , destination: destination) )
91
+ variants. append ( . init( metadata: variantMetadata , destination: destination) )
92
92
} catch {
93
93
observabilityScope. emit (
94
94
. warning(
You can’t perform that action at this time.
0 commit comments