Эх сурвалжийг харах

changed string to match authorization errors

Gordon Schmidt 13 жил өмнө
parent
commit
589dffbfbb

+ 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);
         }