Skip to content

Commit

Permalink
Merge f796552 into c9f7fde
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Jun 17, 2019
2 parents c9f7fde + f796552 commit 6d56186
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CosyComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,11 @@ public function getOutput()
/** @var Message $msg */
$msg = $message['message'];
$msg->setContext($message['context']);
$msgs[] = $message['message'];
if (isset($message['context']['command'])) {
$msg = new Message($msg->getMessage(), Message::COMMAND);
$msg->setContext($message['context']);
}
$msgs[] = $msg;
}
return $msgs;
}
Expand Down

0 comments on commit 6d56186

Please sign in to comment.