瀏覽代碼

do not output the xcopy summary

Christoph 12 年之前
父節點
當前提交
c7c55915f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
src/Composer/Util/Filesystem.php

@@ -159,7 +159,7 @@ class Filesystem
         if (defined('PHP_WINDOWS_VERSION_BUILD')) {
             // Try to copy & delete - this is a workaround for random "Access denied" errors.
             $command = sprintf('xcopy %s %s /E /I /Q', escapeshellarg($source), escapeshellarg($target));
-            if (0 === $this->processExecutor->execute($command)) {
+            if (0 === $this->processExecutor->execute($command, $output)) {
                 $this->remove($source);
 
                 return;