From 6f735621589fcd01775237f5e171911bec1cee57 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 12 Apr 2021 08:02:51 -0700 Subject: [PATCH] fixup! fixup! fixup! test,debugger: migrate node-inspect tests to core --- test/common/inspector-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/inspector-cli.js b/test/common/inspector-cli.js index d45eaa958b709b..9c50167d7e1a39 100644 --- a/test/common/inspector-cli.js +++ b/test/common/inspector-cli.js @@ -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');