MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / probe

Function probe

__tests__/bundle-launcher.test.ts:52–58  ·  view source on GitHub ↗
(bundle: string)

Source from the content-addressed store, hash-verified

50}
51
52function probe(bundle: string) {
53 fs.writeFileSync(path.join(bundle, 'lib/dist/bin/codegraph.js'), `
54console.log(JSON.stringify({args: process.argv.slice(2), flags: process.execArgv,
55 host: process.env.CODEGRAPH_HOST_PPID, exe: process.execPath}));
56process.exit(23);
57`);
58}
59
60function checkForwarding(bundle: string) {
61 probe(bundle);

Callers 1

checkForwardingFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected