Capture output, stopping errors showing up if p4 is not available
parent
a892e6a3bd
commit
c0316aa957
|
@ -372,7 +372,9 @@ class Perforce
|
||||||
|
|
||||||
public static function checkServerExists($url, ProcessExecutor $processExecutor)
|
public static function checkServerExists($url, ProcessExecutor $processExecutor)
|
||||||
{
|
{
|
||||||
return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s');
|
$output = null;
|
||||||
|
|
||||||
|
return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getComposerInformation($identifier)
|
public function getComposerInformation($identifier)
|
||||||
|
|
Loading…
Reference in New Issue