Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b86faef

Browse files
committedMay 19, 2023
clear logbuffer;
1 parent bc0fd1c commit b86faef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/aws-cdk/lib/logging.ts

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function uncorkLogging() {
3131
CORK_COUNTER -= 1;
3232
if (!corked()) {
3333
logBuffer.forEach(([stream, str]) => stream.write(str + '\n'));
34+
logBuffer.splice(0);
3435
}
3536
}
3637

0 commit comments

Comments
 (0)
Please sign in to comment.