Selaa lähdekoodia

changed string to match authorization errors

Gordon Schmidt 13 vuotta sitten
vanhempi
commit
589dffbfbb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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);
         }