Skip to content

Commit

Permalink
Exiting process on error.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakyeRU committed Jan 20, 2023
1 parent 8c5c1a4 commit a8f7252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ protected function requireComposerPackages($packages)
->run(function ($type, $output) {
if ($type === Process::ERR) {
$this->error(trim($output));
exit(1);
} else {
$this->output->write($output);
}
Expand Down

0 comments on commit a8f7252

Please sign in to comment.