Skip to content

Commit e958ca7

Browse files
committed
fix: correct context usage for 'yes' flag in remove command
1 parent 8afbfe4 commit e958ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/commands/remove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func removeCmd(ctx context.Context, cmd *cli.Command) error {
4343
if l < 1 {
4444
return cli.Exit("invalid arguments", 1)
4545
}
46-
yes := ctx.Bool("yes")
46+
yes := cmd.Bool("yes")
4747

4848
manager := internal.NewSdkManager()
4949
defer manager.Close()

0 commit comments

Comments
 (0)