fix: Use SyncRootPath to allow using parent directories

This commit is contained in:
Ilya Kuznetsov 2024-11-12 15:16:47 +01:00
parent 6c1230889a
commit b2164c0725
No known key found for this signature in database
GPG Key ID: 91F3DDCF5D21CDDF
1 changed files with 1 additions and 1 deletions

View File

@ -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