diff --git a/src/Composer/Installer.php b/src/Composer/Installer.php index c78dc8fd7..5b5489d53 100644 --- a/src/Composer/Installer.php +++ b/src/Composer/Installer.php @@ -633,7 +633,7 @@ class Installer $ghe = new GithubActionError($this->io); $ghe->emit($err."\n".$prettyProblem); - return max(self::ERROR_GENERIC_FAILURE, $e->getCode()); + return $e->getCode(); } $lockTransaction->setNonDevPackages($nonDevLockTransaction);