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