Skip to content

Commit ac35913

Browse files
committed
split lines
Signed-off-by: Jeffrey Tang <[email protected]>
1 parent b7bf6d4 commit ac35913

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/process_output.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export class CustomProcessOutput extends ProcessOutput {
3232

3333
/** @inheritDoc */
3434
toStdout (chunk, eol = true) {
35-
this._logger.debug(chunk.toString())
35+
chunk.toString().split('\n').forEach(line => {
36+
this._logger.debug(line)
37+
})
3638
return super.toStdout(chunk, eol)
3739
}
3840

0 commit comments

Comments
 (0)