Explorar o código

Merge pull request #1990 from phansys/svn-auth

Added check for SVN WebDAV auth request
Jordi Boggiano %!s(int64=11) %!d(string=hai) anos
pai
achega
06dff68ce7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/Composer/Util/Svn.php

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

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