Skip to content

Commit 112bddc

Browse files
authored
Add “raw” type in handleStream method for custom json in stdout (#742)
1 parent e186125 commit 112bddc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Commands/Concerns/InteractsWithIO.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ public function handleStream($stream, $verbosity = null)
238238
'request' => $this->requestInfo($stream, $verbosity),
239239
'throwable' => $this->throwableInfo($stream, $verbosity),
240240
'shutdown' => $this->shutdownInfo($stream, $verbosity),
241+
'raw' => $this->raw(json_encode($stream)),
241242
default => $this->info(json_encode($stream), $verbosity)
242243
};
243244
}

0 commit comments

Comments
 (0)