(args: string[])
| 24 | } |
| 25 | |
| 26 | function run(args: string[]) { |
| 27 | return spawnSync(process.execPath, [BIN, 'implementations', '-p', projectRoot, ...args], { |
| 28 | encoding: 'utf-8', |
| 29 | env: { ...process.env, CODEGRAPH_NO_DAEMON: '1', CODEGRAPH_WASM_RELAUNCHED: '1', NO_COLOR: '1' }, |
| 30 | timeout: 30_000, |
| 31 | }); |
| 32 | } |
| 33 | |
| 34 | function json(args: string[]) { |
| 35 | const result = run([...args, '--json']); |
no outgoing calls
no test coverage detected