1
0
Fork 0

Pass IO instance to ProcessExecutor for logging

pull/2402/head
Chris Smith 2013-11-06 21:37:20 +00:00
parent d1c166eb26
commit a892e6a3bd
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class PerforceDriver extends VcsDriver
public static function supports(IOInterface $io, Config $config, $url, $deep = false) public static function supports(IOInterface $io, Config $config, $url, $deep = false)
{ {
if ($deep || preg_match('#\b(perforce|p4)\b#i', $url)) { 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; return false;