(error: Error)
| 110 | } |
| 111 | |
| 112 | function onError(error: Error) { |
| 113 | clearTimeout(timeout) |
| 114 | process.stdout.off('data', onStdout) |
| 115 | process.off('error', onError) |
| 116 | process.off('exit', onExit) |
| 117 | reject(error) |
| 118 | } |
| 119 | |
| 120 | function onExit(code: number) { |
| 121 | clearTimeout(timeout) |
nothing calls this directly
no test coverage detected