From 56d1f2ff1cdd2c13fc68d19ede191070d08a5e4a Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 19 Aug 2024 17:56:51 +0200 Subject: [PATCH] Final test fix --- bundle/config/mutator/sync_infer_root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/mutator/sync_infer_root.go b/bundle/config/mutator/sync_infer_root.go index 65ca2abca5..012acf8001 100644 --- a/bundle/config/mutator/sync_infer_root.go +++ b/bundle/config/mutator/sync_infer_root.go @@ -57,7 +57,7 @@ func (m *syncInferRoot) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagno var diags diag.Diagnostics // Use the bundle root path as the starting point for inferring the sync root path. - bundleRootPath := b.RootPath + bundleRootPath := filepath.Clean(b.RootPath) // Infer the sync root path by looking at each one of the sync paths. // Every sync path must be a descendant of the final sync root path.