瀏覽代碼

HgDriver: don't run command in non-existing directory

Stephan Vock 5 年之前
父節點
當前提交
73b269fade
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Repository/Vcs/HgDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/HgDriver.php

@@ -71,7 +71,7 @@ class HgDriver extends VcsDriver
                     return sprintf('hg clone --noupdate %s %s', ProcessExecutor::escape($url), ProcessExecutor::escape($repoDir));
                 };
 
-                $hgUtils->runCommand($command, $this->url, $this->repoDir);
+                $hgUtils->runCommand($command, $this->url, null);
             }
         }