Skip to content

Commit 01d04d4

Browse files
committed
chore(cli): check if returnValue is undefined
Need to check if returnValue is undefined not if it is defined.
1 parent 7d230d7 commit 01d04d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/aws-cdk/bin/cdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ async function initCommandLine() {
309309
break;
310310
}
311311

312-
if (returnValue !== undefined) {
312+
if (returnValue === undefined) {
313313
returnValue = await main(cmd, argv);
314314
}
315315

0 commit comments

Comments
 (0)