Skip to content

Commit

Permalink
fix: Reuse existing root variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakuz-db committed Nov 18, 2024
1 parent 00bb683 commit e8825d5
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 @@ -226,7 +226,7 @@ func (m *applyPresets) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnos
root := b.SyncRootPath
isInWorkspace := strings.HasPrefix(root, "/Workspace/")
if isInWorkspace && dbr.RunsOnRuntime(ctx) {
b.Config.Workspace.FilePath = b.SyncRootPath
b.Config.Workspace.FilePath = root
} else {
disabled := false
b.Config.Presets.InPlaceDeployment = &disabled
Expand Down

0 comments on commit e8825d5

Please sign in to comment.