Skip to content

Commit

Permalink
Add “raw” type in handleStream method for custom json in stdout (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
mphamid authored Aug 29, 2023
1 parent e186125 commit 112bddc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/Concerns/InteractsWithIO.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ public function handleStream($stream, $verbosity = null)
'request' => $this->requestInfo($stream, $verbosity),
'throwable' => $this->throwableInfo($stream, $verbosity),
'shutdown' => $this->shutdownInfo($stream, $verbosity),
'raw' => $this->raw(json_encode($stream)),
default => $this->info(json_encode($stream), $verbosity)
};
}
Expand Down

0 comments on commit 112bddc

Please sign in to comment.