浏览代码

Fix bug in ValidateCommand

Jordi Boggiano 13 年之前
父节点
当前提交
ca558369fc
共有 1 个文件被更改,包括 1 次插入2 次删除
  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,
         );