Explorar el Código

Skip redirect to URL lines in svn output, fixes #2338

Jordi Boggiano hace 11 años
padre
commit
efb41d467e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/Composer/Util/Svn.php

+ 3 - 0
src/Composer/Util/Svn.php

@@ -92,6 +92,9 @@ class Svn
             if ($type !== 'out') {
                 return;
             }
+            if ('Redirecting to URL ' === substr($buffer, 0, 19)) {
+                return;
+            }
             $output .= $buffer;
             if ($verbose) {
                 $io->write($buffer, false);