diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-03-31 23:45:01 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-03-31 23:45:01 +0900 |
| commit | 52b1a5a72573e2c593e58140abdb2739a61031b6 (patch) | |
| tree | 75febaa83979b5ded7c47226cc972d1180759557 /internal/rosa/meson.go | |
| parent | 6b78df87148d1b9315289a422159b3f0010284eb (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/meson.go')
| -rw-r--r-- | internal/rosa/meson.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/rosa/meson.go b/internal/rosa/meson.go index 61317604..946c8044 100644 --- a/internal/rosa/meson.go +++ b/internal/rosa/meson.go @@ -72,9 +72,7 @@ func (*MesonHelper) name(name, version string) string { } // extra returns hardcoded meson runtime dependencies. -func (*MesonHelper) extra(int) []PArtifact { - return []PArtifact{Meson} -} +func (*MesonHelper) extra(int) P { return P{Meson} } // wantsChmod returns false. func (*MesonHelper) wantsChmod() bool { return false } |
