| 26 | }; |
| 27 | |
| 28 | export const waitForSubprocessStdout = async subprocessStdout => { |
| 29 | await finished(subprocessStdout, {cleanup: true, readable: true, writable: false}); |
| 30 | }; |
| 31 | |
| 32 | // When `readable` or `writable` aborts/errors, awaits the subprocess, for the reason mentioned above |
| 33 | export const waitForSubprocess = async (subprocess, error) => { |
no outgoing calls
no test coverage detected