(target: string)
| 43 | } |
| 44 | |
| 45 | async function pathExists(target: string): Promise<boolean> { |
| 46 | try { |
| 47 | await access(target) |
| 48 | return true |
| 49 | } catch { |
| 50 | return false |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | async function runOrThrow(file: string, args: string[], label: string): Promise<string> { |
| 55 | const { code, stdout, stderr } = await execFileNoThrow(file, args, { useCwd: false }) |
no outgoing calls
no test coverage detected