Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit-30 committed Feb 15, 2023
1 parent 94c2abf commit 074f2fe
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -3,8 +3,9 @@
require('../common');
const spawn = require('node:child_process').spawn;
const child = spawn(process.execPath,
['--no-warnings', '--test-reporter', 'spec', '--experimental-test-coverage', 'test/message/test_runner_output.js'],
['--no-warnings', '--test-reporter', 'spec',
'--experimental-test-coverage', 'test/message/test_runner_output.js'],
{ stdio: 'pipe' });
// eslint-disable-next-line no-control-regex
child.stdout.on('data', (d) => process.stdout.write(d.toString().replace(/[^\x00-\x7F]/g, '')));
child.stdout.on('data', (d) => process.stdout.write(d.toString().replace(/[^\x00-\x7F]/g, '').replace(/\u001b\[\d+m/g, '')));
child.stderr.pipe(process.stderr);

0 comments on commit 074f2fe

Please sign in to comment.