소스 검색

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