Explorar o código

Merge pull request #750 from GordonSchmidt/master

SVN Auth doesn't work with german svn errors
Jordi Boggiano %!s(int64=12) %!d(string=hai) anos
pai
achega
edeec58c09
Modificáronse 1 ficheiros con 1 adicións e 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);
         }