From e5bd9d981cdfe5d155fa4c5f8f1fd23d7fb8b41a Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 18 Nov 2024 20:55:05 +0100 Subject: [PATCH] Adapt integration test helper --- internal/bundle/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bundle/helpers.go b/internal/bundle/helpers.go index 8f1a866f6..9740061ec 100644 --- a/internal/bundle/helpers.go +++ b/internal/bundle/helpers.go @@ -42,7 +42,7 @@ func initTestTemplateWithBundleRoot(t *testing.T, ctx context.Context, templateN cmd := cmdio.NewIO(flags.OutputJSON, strings.NewReader(""), os.Stdout, os.Stderr, "", "bundles") ctx = cmdio.InContext(ctx, cmd) - err = template.Materialize(ctx, configFilePath, templateRoot, bundleRoot) + err = template.Materialize(ctx, configFilePath, os.DirFS(templateRoot), bundleRoot) return bundleRoot, err }