Pārlūkot izejas kodu

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

Daniel Karl 6 gadi atpakaļ
vecāks
revīzija
849f4eda56
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
             }