Skip to content

Commit 57f27de

Browse files
committed
test different log file name
1 parent 8ee1b4f commit 57f27de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/playwright-recorder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const escapeSequenceRegex = new RegExp(
1212

1313
export function playwrightRecorder() {
1414
// console.log is saved out of reportsDir since it is cleared on startup.
15-
const ws = fs.createWriteStream(path.join(process.cwd(), 'console.log'), {
15+
const ws = fs.createWriteStream(path.join(process.cwd(), 'console2.log'), {
1616
flags: 'w+',
1717
mode: 0o644,
1818
});
@@ -29,9 +29,9 @@ export function playwrightRecorder() {
2929
...process.argv.slice(2),
3030
]);
3131

32-
//child.stdout.pipe(stripAsciiTransform).pipe(process.stdout);
33-
//child.stderr.pipe(process.stderr);
34-
child.stdout.pipe(stripAsciiTransform).pipe(ws);
32+
child.stdout.pipe(stripAsciiTransform).pipe(process.stdout);
33+
child.stderr.pipe(process.stderr);
34+
child.stdout.pipe(ws);
3535
child.stderr.pipe(ws);
3636

3737
child.on('exit', (exitCode) => {

0 commit comments

Comments
 (0)