Skip to content

Commit edf2946

Browse files
committed
move archsplit to pkgMerge
1 parent 4bae908 commit edf2946

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,6 @@ func pkgExtract(inCh <-chan map[string]*packages.Package, outCh chan<- map[strin
10761076
pkgArchs[pkgArch] = pkgD
10771077
}
10781078

1079-
archSplit(pkgArchs)
10801079
outCh <- pkgArchs
10811080
}
10821081

@@ -1103,6 +1102,8 @@ func pkgMerge(inCh <-chan map[string]*pkgData, outPath string) {
11031102
}
11041103
}
11051104

1105+
archSplit(allPkgs)
1106+
11061107
data := check1(json.Marshal(allPkgs))
11071108

11081109
check(os.WriteFile(outPath, data, 0o666))

0 commit comments

Comments
 (0)