(results: Array<{ path: string; isDirectory: boolean }>)
| 168 | let resolved = false; |
| 169 | |
| 170 | const finish = (results: Array<{ path: string; isDirectory: boolean }>) => { |
| 171 | if (resolved) return; |
| 172 | resolved = true; |
| 173 | signal.removeEventListener("abort", onAbort); |
| 174 | resolve(results); |
| 175 | }; |
| 176 | |
| 177 | const onAbort = () => { |
| 178 | if (child.exitCode === null) { |
no test coverage detected