Skip to content

Commit 8e9a54d

Browse files
committed
fmt
1 parent 6d18ee3 commit 8e9a54d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

examples/client/src/examples/client/ChildProcess.scala

+4-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ object ChildProcess {
3636
writeOutputStreamFlushingChunks[F](Sync[F].interruptible(p.getOutputStream()))
3737

3838
def stdout: fs2.Stream[F, Byte] = fs2.io
39-
.readInputStream[F](Sync[F].interruptible(p.getInputStream()), chunkSize = readBufferSize).translate(onGlobal)
39+
.readInputStream[F](Sync[F].interruptible(p.getInputStream()), chunkSize = readBufferSize)
40+
.translate(onGlobal)
4041

4142
def stderr: fs2.Stream[F, Byte] = fs2.io
42-
.readInputStream[F](Sync[F].blocking(p.getErrorStream()), chunkSize = readBufferSize).translate(onGlobal)
43+
.readInputStream[F](Sync[F].blocking(p.getErrorStream()), chunkSize = readBufferSize)
44+
.translate(onGlobal)
4345
// Avoids broken pipe - we cut off when the program ends.
4446
// Users can decide what to do with the error logs using the exitCode value
4547
.interruptWhen(done.void.attempt)

0 commit comments

Comments
 (0)