Skip to content

Commit b1ce728

Browse files
authored
Merge pull request #29 from screenager/master
display real error message, so CI tools can better detect a failed state
2 parents 1ed735a + f87d80a commit b1ce728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SelfDiagnosisCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function handle()
3636
$this->runChecks($environmentChecks, trans('self-diagnosis::commands.self_diagnosis.environment_specific_checks', ['environment' => app()->environment()]));
3737

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

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

0 commit comments

Comments
 (0)