瀏覽代碼

Using cwd for 2nd process-execution (auth) in HgUtils

Daniel Karl 6 年之前
父節點
當前提交
849f4eda56
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Util/Hg.php

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

@@ -60,7 +60,7 @@ class Hg
 
             $command = call_user_func($commandCallable, $authenticatedUrl);
 
-            if (0 === $this->process->execute($command)) {
+            if (0 === $this->process->execute($command, $ignoredOutput, $cwd)) {
                 return;
             }