(...args: string[])
| 12 | let root: string; |
| 13 | |
| 14 | function run(...args: string[]) { |
| 15 | return spawnSync(process.execPath, [BIN, ...args], { |
| 16 | cwd: root, |
| 17 | encoding: 'utf8', |
| 18 | timeout: 30_000, |
| 19 | env: { ...process.env, CODEGRAPH_NO_DAEMON: '1', CODEGRAPH_WASM_RELAUNCHED: '1', NODE_NO_WARNINGS: '1', NO_COLOR: '1' }, |
| 20 | }); |
| 21 | } |
| 22 | |
| 23 | function setStamp(stamp: number | null) { |
| 24 | const db = new DatabaseSync(path.join(root, '.codegraph', 'codegraph.db')); |
no outgoing calls
no test coverage detected