From 24506357dcdec38f528309a34f8307f7e480e2cf Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Wed, 19 Apr 2023 15:26:23 +0200 Subject: [PATCH] - --- bundle/deploy/files/delete.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/deploy/files/delete.go b/bundle/deploy/files/delete.go index 0d8cc46b5..3af255210 100644 --- a/bundle/deploy/files/delete.go +++ b/bundle/deploy/files/delete.go @@ -30,7 +30,7 @@ func (m *delete) Apply(ctx context.Context, b *bundle.Bundle) ([]bundle.Mutator, red := color.New(color.FgRed).SprintFunc() if !b.AutoApprove { cmdio.LogString(ctx, fmt.Sprintf("\n%s and all files in it will be %s.", b.Config.Workspace.RootPath, red("deleted permanently!"))) - proceed, err := cmdio.Ask(ctx, "Proceed with deletion?: ") + proceed, err := cmdio.Ask(ctx, "Proceed with deletion? [y/n]: ") if err != nil { return nil, err } @@ -57,7 +57,7 @@ func (m *delete) Apply(ctx context.Context, b *bundle.Bundle) ([]bundle.Mutator, return nil, err } - cmdio.LogString(ctx, fmt.Sprintf("\n Deleted snapshot file at %s", sync.SnapshotPath())) + cmdio.LogString(ctx, fmt.Sprintf("\nDeleted snapshot file at %s", sync.SnapshotPath())) cmdio.LogString(ctx, "Successfully deleted files!") return nil, nil }