Skip to content

Commit

Permalink
Merge pull request #29 from screenager/master
Browse files Browse the repository at this point in the history
display real error message, so CI tools can better detect a failed state
  • Loading branch information
mpociot authored Jul 9, 2018
2 parents 1ed735a + f87d80a commit b1ce728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SelfDiagnosisCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function handle()
$this->runChecks($environmentChecks, trans('self-diagnosis::commands.self_diagnosis.environment_specific_checks', ['environment' => app()->environment()]));

if (count($this->messages)) {
$this->output->writeln(trans('self-diagnosis::commands.self_diagnosis.failed_checks'));
$this->error(trans('self-diagnosis::commands.self_diagnosis.failed_checks'));

foreach ($this->messages as $message) {
$this->output->writeln('<fg=red>'.$message.'</fg=red>');
Expand Down

0 comments on commit b1ce728

Please sign in to comment.