1
0
Fork 0

Avoid failing the require command if the audit step failed

pull/11616/head
Jordi Boggiano 2023-09-01 10:05:13 +02:00
parent 0ab4dfba7c
commit 7dc5666f33
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ EOT
} }
$status = $install->run(); $status = $install->run();
if ($status !== 0) { if ($status !== 0 && $status !== Installer::ERROR_AUDIT_FAILED) {
if ($status === Installer::ERROR_DEPENDENCY_RESOLUTION_FAILED) { if ($status === Installer::ERROR_DEPENDENCY_RESOLUTION_FAILED) {
foreach ($this->normalizeRequirements($input->getArgument('packages')) as $req) { foreach ($this->normalizeRequirements($input->getArgument('packages')) as $req) {
if (!isset($req['version'])) { if (!isset($req['version'])) {