MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / marker

Function marker

Extension/test/unit/commandLineParsing.test.ts:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14require('source-map-support/register');
15
16function marker() {
17 try {
18 throw new Error('Test Marker');
19 } catch (E) {
20 if (is.error(E)) {
21 return E.stack?.split('\n').filter(each => each.includes('.ts') && each.includes('<anonymous>')).join('\n');
22 }
23 }
24}
25
26const fails: [ string | undefined, string, string?][] = [
27 /** command substitution not supported */

Callers 1

Calls 2

errorMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected