diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-26 14:10:35 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-26 14:11:10 +0900 |
| commit | af038c89ffe01f4b07ab94030fa83baa8d5f83d9 (patch) | |
| tree | 027ef910b73c58bf5e5d824d5859b8bbb41ca1eb /cmd | |
| parent | d2f30173cd8d635e37623cf72b4867eb0e6ddf1d (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.go | 4 |
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 } |
