From 34cb4ebd3bc1d7aaa263929c7ae27ac46298b285 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 9 Jan 2026 05:31:38 +0900 Subject: internal/pkg: pass context to file cure This removes the left over embedded contexts. Signed-off-by: Ophestra --- internal/pkg/pkg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg/pkg_test.go') diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index 29291fcc..2c664385 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -109,7 +109,7 @@ type stubFile struct { stubArtifact } -func (a stubFile) Cure() ([]byte, error) { return a.data, a.err } +func (a stubFile) Cure(context.Context) ([]byte, error) { return a.data, a.err } // newStubFile returns an implementation of [pkg.File] with hardcoded behaviour. func newStubFile( -- cgit v1.3.1