(args: string)
| 11 | return env; |
| 12 | })(); |
| 13 | const run = (args: string): string => { |
| 14 | const argv = args.trim() ? args.trim().split(/\s+/) : []; |
| 15 | return execFileSync('node', [CLI, ...argv], { |
| 16 | encoding: 'utf8', |
| 17 | timeout: 15_000, |
| 18 | env: cliEnv, |
| 19 | }); |
| 20 | }; |
| 21 | |
| 22 | const runMayFail = (args: string): { stdout: string; status: number } => { |
| 23 | try { |
no outgoing calls
no test coverage detected