Parcourir la source

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

Daniel Karl il y a 6 ans
Parent
commit
849f4eda56
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
             }