Explorar o código

* in interactive mode: display error message to the user when authorization fails

till %!s(int64=13) %!d(string=hai) anos
pai
achega
f8d8ccfedc
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/Composer/Repository/Vcs/SvnDriver.php

+ 2 - 0
src/Composer/Repository/Vcs/SvnDriver.php

@@ -101,6 +101,8 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
 
                 // restart the process
                 $output = $this->execute($command, $url);
+            } else {
+                $this->io->write("Authorization failed: {$svnCommand}");
             }
         }
         return $output;