Skip to content

Commit

Permalink
also strip process.stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
tianfeng92 committed Aug 6, 2024
1 parent 0b94e23 commit ad27faa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/playwright-recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ export function playwrightRecorder() {
...process.argv.slice(2),
]);

child.stdout.pipe(process.stdout);
child.stdout.pipe(stripAsciiTransform).pipe(process.stdout);
child.stderr.pipe(process.stderr);
child.stdout.pipe(stripAsciiTransform).pipe(ws);
child.stderr.pipe(stripAsciiTransform).pipe(ws);

child.on('exit', (exitCode) => {
ws.end();
Expand Down

0 comments on commit ad27faa

Please sign in to comment.