aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
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
}