From b2164c0725b4972d72d0875c39fd3198a57824b8 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Tue, 12 Nov 2024 15:16:47 +0100 Subject: [PATCH] fix: Use SyncRootPath to allow using parent directories --- bundle/config/mutator/apply_presets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/mutator/apply_presets.go b/bundle/config/mutator/apply_presets.go index cdccf5491..8dc012ea7 100644 --- a/bundle/config/mutator/apply_presets.go +++ b/bundle/config/mutator/apply_presets.go @@ -228,7 +228,7 @@ func (m *applyPresets) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnos isInWorkspace := ok && strings.HasPrefix(root, "/Workspace/") if isInWorkspace { - b.Config.Workspace.FilePath = b.BundleRootPath + b.Config.Workspace.FilePath = b.SyncRootPath } else { disabled := false b.Config.Presets.InPlaceDeployment = &disabled