Skip to content

Commit 4b404ec

Browse files
committed
Fix composer proxy swallowing exit code of real_composer
1 parent 34301ac commit 4b404ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/composer_proxy.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@
1212
$args = array_map(function(string $item) { return escapeshellarg($item); }, $argv);
1313

1414
// Let's pass the command down to the real composer
15-
passthru('real_composer '.implode(' ', $args));
15+
passthru('real_composer '.implode(' ', $args), $exitCode);
16+
exit($exitCode);

0 commit comments

Comments
 (0)