Sfoglia il codice sorgente

Fix bug in ValidateCommand

Jordi Boggiano 13 anni fa
parent
commit
ca558369fc
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      src/Composer/Command/ValidateCommand.php

+ 1 - 2
src/Composer/Command/ValidateCommand.php

@@ -125,8 +125,7 @@ EOT
         }
 
         $messages = array(
-            'error' => $errors,
-            'error' => $publishErrors,
+            'error' => array_merge($errors, $publishErrors),
             'warning' => $warnings,
         );