Parcourir la source

Merge pull request #2201 from DerManoMann/svn-auth

Add another svn auth failed string to check (older svn server version)
Jordi Boggiano il y a 11 ans
Parent
commit
3942651014
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/Composer/Util/Svn.php

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

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