aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-26 14:10:35 +0900
committerOphestra <cat@gensokyo.uk>2026-03-26 14:11:10 +0900
commitaf038c89ffe01f4b07ab94030fa83baa8d5f83d9 (patch)
tree027ef910b73c58bf5e5d824d5859b8bbb41ca1eb /cmd
parentd2f30173cd8d635e37623cf72b4867eb0e6ddf1d (diff)
internal/pkg: collection helper-artifact
This was moved from internal/rosa because it is considered generally useful. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 70a7f19e..199ad3da 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -527,7 +527,7 @@ func main() {
}
presets[i] = p
}
- root := make(rosa.Collect, 0, 6+len(args))
+ root := make(pkg.Collect, 0, 6+len(args))
root = rosa.Std.AppendPresets(root, presets...)
if flagWithToolchain {
@@ -543,7 +543,7 @@ func main() {
if _, _, err := cache.Cure(&root); err == nil {
return errors.New("unreachable")
- } else if !errors.Is(err, rosa.Collected{}) {
+ } else if !pkg.IsCollected(err) {
return err
}