1
0
Fork 0

Remove publish errors from diagnose command output, fixes #4652

pull/4659/head
Jordi Boggiano 2015-12-01 14:57:07 +00:00
parent 26a74a1200
commit dc06276179
1 changed files with 3 additions and 3 deletions

View File

@ -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,
); );