Skip to content

Commit

Permalink
fix: Use SyncRootPath to allow using parent directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakuz-db committed Nov 12, 2024
1 parent 6c12308 commit b2164c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/config/mutator/apply_presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2164c0

Please sign in to comment.