From e11bd185cb5b58f00429edbf42ea490378dfb252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Zori=C4=87?= Date: Tue, 4 Feb 2025 08:51:05 +0100 Subject: [PATCH] fix(cli-plugin-deploy-pulumi): destroy whole environment --- packages/cli-plugin-deploy-pulumi/src/commands/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-plugin-deploy-pulumi/src/commands/index.ts b/packages/cli-plugin-deploy-pulumi/src/commands/index.ts index 1cf4d10f507..252c5df0c33 100644 --- a/packages/cli-plugin-deploy-pulumi/src/commands/index.ts +++ b/packages/cli-plugin-deploy-pulumi/src/commands/index.ts @@ -357,7 +357,7 @@ export const commands: CliCommandPlugin[] = [ * When we have a variant, a user must also send the `confirm-destroy-variant` option. */ if (!args.variant) { - return; + return true; } else if (!confirmDestroyVariant) { throw new Error( `Please confirm complete project destruction by appending ${red(