1 parent f9ea992 commit de07066Copy full SHA for de07066
1 file changed
extract.go
@@ -179,14 +179,6 @@ func downloadImages(ctx context.Context, urls []string) []byte {
179
return cmp.Compare(a.url, b.url)
180
})
181
182
- fetched = lo.Without(fetched, nil)
183
- // conc/pool doesn't guarantee result order matches submission order;
184
- // sort by URL so the images/N.ext numbering is deterministic regardless
185
- // of which fetch happens to finish first.
186
- slices.SortFunc(fetched, func(a, b *fetchedImage) int {
187
- return cmp.Compare(a.url, b.url)
188
- })
189
-
190
var buf bytes.Buffer
191
zw := zip.NewWriter(&buf)
192
assetMap := make(map[string]string)
0 commit comments