MCPcopy
hub / github.com/microsoft/vscode-js-debug / removeNodeInternalsStackLines

Function removeNodeInternalsStackLines

src/test/goldenText.ts:23–24  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

21 .replace(/\\r\\n/g, '\\n');
22
23export const removeNodeInternalsStackLines = (s: string) =>
24 s.replace(/^.*<node_internals>.*\r?\n/gm, '').replace(/^.*@ internal\/.*\r?\n/gm, '');
25
26export class GoldenText {
27 _results: string[];

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected