From 2283ea6bd8291887f5ae897dc5da6df7aa90488c Mon Sep 17 00:00:00 2001 From: Liam Cervante Date: Wed, 30 Oct 2024 09:52:45 +0100 Subject: [PATCH] Update builder.go --- sourcebundle/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcebundle/builder.go b/sourcebundle/builder.go index 575db07..4d949e3 100644 --- a/sourcebundle/builder.go +++ b/sourcebundle/builder.go @@ -622,7 +622,7 @@ func (b *Builder) writeManifest(filename string) error { } sort.Slice(root.RegistryMeta, func(i, j int) bool { - return root.Packages[i].SourceAddr < root.Packages[j].SourceAddr + return root.RegistryMeta[i].SourceAddr < root.RegistryMeta[j].SourceAddr }) buf, err := json.MarshalIndent(&root, "", " ")