Prechádzať zdrojové kódy

incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available

mwhittom 11 rokov pred
rodič
commit
dde9c309fd
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/Composer/Util/Perforce.php

+ 1 - 1
src/Composer/Util/Perforce.php

@@ -385,7 +385,7 @@ class Perforce
     public static function checkServerExists($url, ProcessExecutor $processExecutor)
     {
         $output = null;
-        return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output);
+        return  0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output);
     }
 
     public function getComposerInformation($identifier)