Skip to content

Commit

Permalink
fixup! fixup! fixup! test,debugger: migrate node-inspect tests to core
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 14, 2021
1 parent c01937a commit 6f73562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/inspector-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function startCLI(args, flags = [], spawnOpts = {}) {
}

function getOutput() {
return outputBuffer.join('\n').replaceAll('\b', '');
return outputBuffer.join('\n').replace(/[\b]/g, '');
}

child.stdout.setEncoding('utf8');
Expand Down

0 comments on commit 6f73562

Please sign in to comment.