Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Return if composer fail (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
dafeder authored Dec 22, 2020
1 parent a61ba2a commit 9a71f40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Command/MakeCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ public function make($opts = [
$composerInstall->option($opt);
}
}
$composerInstall->run();
$result = $composerInstall->run();
if ($result->getExitCode() != 0) {
return $result;
}

// Symlink dirs from src into docroot.
$this->makeSymlinks();
Expand Down

0 comments on commit 9a71f40

Please sign in to comment.