Skip to content

Commit

Permalink
fix(cli-plugin-deploy-pulumi): destroy whole environment
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric committed Feb 4, 2025
1 parent 1f87a0c commit e11bd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli-plugin-deploy-pulumi/src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e11bd18

Please sign in to comment.