We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f519b commit 4eba395Copy full SHA for 4eba395
Sources/libhostmgr/Model/RemoteVMRepository.swift
@@ -101,8 +101,7 @@ public struct RemoteVMRepository {
101
.filter { $0.key.hasSuffix(".sha256.txt") }
102
.sorted()
103
104
- return zip(imageObjects, checksums).reduce(into: [RemoteVMImage]()) {
105
- $0.append(RemoteVMImage(imageObject: $1.0, checksumObject: $1.1))
106
- }
+ return zip(imageObjects, checksums)
+ .map { RemoteVMImage(imageObject: $0, checksumObject: $1) }
107
}
108
0 commit comments