Skip to content

Commit a4387bd

Browse files
authored
chore(cli): check if returnValue is undefined (#18943)
Need to check if returnValue is undefined not if it is defined. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 7d230d7 commit a4387bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)