diff --git a/src/cli/cdk-exec.ts b/src/cli/cdk-exec.ts index 474f12c94..5d11f1263 100644 --- a/src/cli/cdk-exec.ts +++ b/src/cli/cdk-exec.ts @@ -16,7 +16,7 @@ async function main(): Promise { .option('app', { type: 'string', alias: 'a', - default: 'cdk.out', + default: process.env.CDK_APP ?? 'cdk.out', description: 'Path to your `cdk.out` cloud assembly directory', }) .option('all', { @@ -85,7 +85,7 @@ export async function cdkExec(options: CdkExecOptions): Promise { }); if (executors.length === 0) { - console.log('❌ Could not find a construct at the provided path'); + console.log('❌ No matching executable constructs found'); return 1; }