فهرست منبع

more inline documentation

till 13 سال پیش
والد
کامیت
c78d9ffece
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 5 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -80,11 +80,15 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
             $output
         );
 
-        // this could be any failure, but let's see if it's auth related
+        // this could be any failure
         if ($status == 1 && $this->io->isInteractive()) {
+
+            // the error is not auth-related
             if (strpos($output, 'authorization failed:') === false) {
                 return $output;
             }
+
+            // no authorization has been detected so far
             if (!$this->useAuth) {
                 $this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:");