Sfoglia il codice sorgente

Merge pull request #239 from digitalkaoz/issue_230

fixed #230
Jordi Boggiano 13 anni fa
parent
commit
feedac8a89
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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;
     }
 }