From 047d9db86b0ac0a4ce6facf8c3ebdfdfcac52595 Mon Sep 17 00:00:00 2001 From: Arran ubels <96026872+aubelscirclein@users.noreply.github.com> Date: Tue, 7 Jun 2022 13:06:15 +1000 Subject: [PATCH] Hint text is inaccurate. --- packages/aws-cdk/lib/cdk-toolkit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk/lib/cdk-toolkit.ts b/packages/aws-cdk/lib/cdk-toolkit.ts index 3e7c6f38dafbc..b62c80e924ad5 100644 --- a/packages/aws-cdk/lib/cdk-toolkit.ts +++ b/packages/aws-cdk/lib/cdk-toolkit.ts @@ -370,7 +370,7 @@ export class CdkToolkit { } if (!process.stdout.isTTY && !options.resourceMappingFile) { - throw new Error('--resource-mapping-file is required when input is not a terminal'); + throw new Error('--resource-mapping is required when input is not a terminal'); } const stack = stacks.stackArtifacts[0];