Skip to content

Commit 3da8053

Browse files
authored
Merge pull request #188 from windaishi/fix-composer-wrapper-script-is-swallowing-exit-code
Fix: Composer proxy is swallowing exit code of real composer
2 parents 34301ac + 4b404ec commit 3da8053

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)