Pass IO instance to ProcessExecutor for logging
parent
d1c166eb26
commit
a892e6a3bd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue