Explorar el Código

changed string to match authorization errors

Gordon Schmidt hace 13 años
padre
commit
589dffbfbb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Util/Svn.php

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

@@ -100,7 +100,7 @@ class Svn
         }
 
         // the error is not auth-related
-        if (false === stripos($output, 'authorization failed:')) {
+        if (false === stripos($output, 'Could not authenticate to server:')) {
             throw new \RuntimeException($output);
         }