(inp, out, w)
| 89 | })); |
| 90 | |
| 91 | function wrap(inp, out, w) { |
| 92 | inp.setEncoding('utf8'); |
| 93 | inp.on('data', function(chunk) { |
| 94 | chunk = chunk.trim(); |
| 95 | if (!chunk) return; |
| 96 | out.write(`${w}${chunk.split('\n').join(`\n${w}`)}\n`); |
| 97 | }); |
| 98 | } |
| 99 | } |
no test coverage detected
searching dependent graphs…