소스 검색

Capture zip downloader output, fixes #533

Jordi Boggiano 13 년 전
부모
커밋
bfd48b06bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Downloader/ZipDownloader.php

+ 1 - 1
src/Composer/Downloader/ZipDownloader.php

@@ -35,7 +35,7 @@ class ZipDownloader extends ArchiveDownloader
         if (!class_exists('ZipArchive')) {
             // try to use unzip on *nix
             if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
-                $result = $this->process->execute('unzip '.escapeshellarg($file).' -d '.escapeshellarg($path));
+                $result = $this->process->execute('unzip '.escapeshellarg($file).' -d '.escapeshellarg($path), $ignoredOutput);
                 if (0 == $result) {
                     return;
                 }