From 79151fd7f4916defeb1e17d3bcdbec1e119ec994 Mon Sep 17 00:00:00 2001 From: Calvin Combs <66279577+comcalvi@users.noreply.github.com> Date: Fri, 17 Mar 2023 08:29:21 -0700 Subject: [PATCH] fix(cli): no change deployment prints "hotswap deployment skipped" without hotswap flag (#24602) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "hotswap deployment skipped" message is printed when a full deployment is performed if no changes were detected. Before: ``` $ cdk deploy ✨ hotswap deployment skipped - no changes were detected (use --force to override) ✅ ApiStack (no changes) ``` With this PR: ``` $ cdk deploy ✅ ApiStack (no changes) ``` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk/lib/api/deploy-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk/lib/api/deploy-stack.ts b/packages/aws-cdk/lib/api/deploy-stack.ts index e8bc990c68f19..0577692a1eeeb 100644 --- a/packages/aws-cdk/lib/api/deploy-stack.ts +++ b/packages/aws-cdk/lib/api/deploy-stack.ts @@ -275,7 +275,7 @@ export async function deployStack(options: DeployStackOptions): Promise