Browse Source

Pass IO instance to ProcessExecutor for logging

Chris Smith 11 years ago
parent
commit
a892e6a3bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Repository/Vcs/PerforceDriver.php

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

@@ -162,7 +162,7 @@ class PerforceDriver extends VcsDriver
     public static function supports(IOInterface $io, Config $config, $url, $deep = false)
     {
         if ($deep || preg_match('#\b(perforce|p4)\b#i', $url)) {
-            return Perforce::checkServerExists($url, new ProcessExecutor);
+            return Perforce::checkServerExists($url, new ProcessExecutor($io));
         }
 
         return false;