* Collects output delivered in chunks * @param {string} chunk - partial output
(chunk)
| 38 | * @param {string} chunk - partial output |
| 39 | */ |
| 40 | function onOutput(chunk) { |
| 41 | if (this._verbose > 1) { // eslint-disable-line no-invalid-this |
| 42 | process.stderr.write(chunk); |
| 43 | } else { |
| 44 | output += chunk; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | node.stdout.on('data', onOutput.bind(this)); |
| 49 | node.stderr.on('data', onOutput.bind(this)); |
nothing calls this directly
no outgoing calls
no test coverage detected