remove replaceA

ll
This commit is contained in:
fehrlich
2021-08-18 13:06:08 +02:00
parent e46cdef402
commit 86e71ae534

View File

@@ -94,8 +94,8 @@ export class PyVisualizationBackend extends VisualizationBackendBase {
let result = reply.result; let result = reply.result;
// remove the initial escape by the the debug session e.g. `''{"kind": {"text": true}, "text": "{"asdf1\'"}''` // remove the initial escape by the the debug session e.g. `''{"kind": {"text": true}, "text": "{"asdf1\'"}''`
result = result.replaceAll(/\\'/g, "'"); result = result.replace(/\\'/g, "'");
result = result.replaceAll(/\\\\/g, "\\"); result = result.replace(/\\\\/g, "\\");
return parseEvaluationResultFromGenericDebugAdapter( return parseEvaluationResultFromGenericDebugAdapter(
result, result,