Remove publish errors from diagnose command output, fixes #4652
parent
26a74a1200
commit
dc06276179
|
@ -141,11 +141,11 @@ EOT
|
|||
private function checkComposerSchema()
|
||||
{
|
||||
$validator = new ConfigValidator($this->getIO());
|
||||
list($errors, $publishErrors, $warnings) = $validator->validate(Factory::getComposerFile());
|
||||
list($errors, , $warnings) = $validator->validate(Factory::getComposerFile());
|
||||
|
||||
if ($errors || $publishErrors || $warnings) {
|
||||
if ($errors || $warnings) {
|
||||
$messages = array(
|
||||
'error' => array_merge($errors, $publishErrors),
|
||||
'error' => $errors,
|
||||
'warning' => $warnings,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue