Skip to content

Commit 799c282

Browse files
committed
chore: improve logging for debug
1 parent 3a510c6 commit 799c282

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/testing/src/TestStack.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ class TestStack {
5252
* Reference to the AWS CDK Cloud Assembly context.
5353
*/
5454
#cx?: ICloudAssemblySource;
55-
/**
56-
* @internal
57-
* Reference to the console object.
58-
*/
59-
static #console: Console;
6055

6156
public constructor({ stackNameProps, app, stack }: TestStackProps) {
6257
this.testName = generateTestUniqueName({
@@ -69,7 +64,7 @@ class TestStack {
6964
color: false,
7065
ioHost: {
7166
async notify(msg) {
72-
if (process.env.ACTIONS_RUNNER_DEBUG === 'true') {
67+
if (process.env.RUNNER_DEBUG === 'true') {
7368
testConsole.log(msg);
7469
} else {
7570
if (['info', 'warning', 'error'].includes(msg.level)) {

0 commit comments

Comments
 (0)