Преглед изворни кода

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;
                 }