Skip to content

Commit

Permalink
throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Apr 15, 2024
1 parent f33c56b commit b7fb56b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions run_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,7 @@ function installComposer(string $folder)

echo '> ' . $process->getCommandLine() . "\n";

$process->run();
$process->mustRun();

echo $process->getOutput();

if ($process->getExitCode() !== 0) {
throw new RuntimeException('Composer command failed');
}
}

0 comments on commit b7fb56b

Please sign in to comment.