Skip to content

Commit 86e71ae

Browse files
author
fehrlich
committed
remove replaceA
ll
1 parent e46cdef commit 86e71ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/src/VisualizationBackend/PyVisualizationSupport.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export class PyVisualizationBackend extends VisualizationBackendBase {
9494

9595
let result = reply.result;
9696
// remove the initial escape by the the debug session e.g. `''{"kind": {"text": true}, "text": "{"asdf1\'"}''`
97-
result = result.replaceAll(/\\'/g, "'");
98-
result = result.replaceAll(/\\\\/g, "\\");
97+
result = result.replace(/\\'/g, "'");
98+
result = result.replace(/\\\\/g, "\\");
9999

100100
return parseEvaluationResultFromGenericDebugAdapter(
101101
result,

0 commit comments

Comments
 (0)