Skip to content

Commit a35fbc3

Browse files
committed
update
1 parent b1699bb commit a35fbc3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/sandbox/delete.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
type deleteFlags struct {
2828
sandboxID string
2929
force bool
30-
yes bool
3130
}
3231

3332
var deleteCmdFlags deleteFlags
@@ -67,7 +66,7 @@ func runDeleteCommand(cmd *cobra.Command, clients *shared.ClientFactory) error {
6766
return err
6867
}
6968

70-
skipConfirm := deleteCmdFlags.force || deleteCmdFlags.yes
69+
skipConfirm := deleteCmdFlags.force
7170
if !skipConfirm {
7271
clients.IO.PrintInfo(ctx, false, "\n%s", style.Sectionf(style.TextSection{
7372
Emoji: "warning",

cmd/sandbox/sandbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func getSandboxAuth(ctx context.Context, clients *shared.ClientFactory) (*types.
7777
}
7878

7979
// Prompt the user to select a team to use for authentication
80-
clients.IO.PrintInfo(ctx, false, style.Secondary("Choose a Slack team where your email address matches your Slack developer account"))
80+
clients.IO.PrintInfo(ctx, false, "%s", style.Secondary("Choose a Slack team where your email address matches your Slack developer account"))
8181
auth, err := prompts.PromptTeamSlackAuth(ctx, clients, "Select a team for authentication")
8282
if err != nil {
8383
return nil, err

0 commit comments

Comments
 (0)