Browse Source

Merge pull request #239 from digitalkaoz/issue_230

fixed #230
Jordi Boggiano 13 năm trước cách đây
mục cha
commit
feedac8a89
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 3 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -180,7 +180,9 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
             return false;
         }
 
-        $exit = $this->process->execute(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored);
+        $processExecutor = new ProcessExecutor();
+
+        $exit = $processExecutor->execute(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored);
         return $exit === 0;
     }
 }