()
| 21 | let doneCalled = false; |
| 22 | |
| 23 | const done = () => { |
| 24 | if (!doneCalled) { |
| 25 | doneCalled = true; |
| 26 | clearTimeout(timeoutId); |
| 27 | child.kill("SIGTERM"); |
| 28 | resolve(output); |
| 29 | } |
| 30 | }; |
| 31 | |
| 32 | const onData = (data) => { |
| 33 | output += data.toString(); |
no outgoing calls
no test coverage detected
searching dependent graphs…