aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/make.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-31 23:45:01 +0900
committerOphestra <cat@gensokyo.uk>2026-03-31 23:45:01 +0900
commit52b1a5a72573e2c593e58140abdb2739a61031b6 (patch)
tree75febaa83979b5ded7c47226cc972d1180759557 /internal/rosa/make.go
parent6b78df87148d1b9315289a422159b3f0010284eb (diff)
internal/rosa: use type P in helper interface
This is easier to type and serialises correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
-rw-r--r--internal/rosa/make.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/make.go b/internal/rosa/make.go
index 3930c3c3..dd795c82 100644
--- a/internal/rosa/make.go
+++ b/internal/rosa/make.go
@@ -84,8 +84,8 @@ func (*MakeHelper) name(name, version string) string {
}
// extra returns make and other optional dependencies.
-func (attr *MakeHelper) extra(flag int) []PArtifact {
- extra := []PArtifact{Make}
+func (attr *MakeHelper) extra(flag int) P {
+ extra := P{Make}
if (attr == nil || !attr.OmitDefaults) && flag&TEarly == 0 {
extra = append(extra,
Gawk,