浏览代码

and again.

Nami-Doc 13 年之前
父节点
当前提交
66efa343a9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Composer/Downloader/GitDownloader.php

+ 1 - 0
src/Composer/Downloader/GitDownloader.php

@@ -98,6 +98,7 @@ class GitDownloader extends VcsDownloader
             $output = $this->process->getErrorOutput();
             if (127 === $this->process->execute('git --version', $handler)) {
                 throw new \RuntimeException('Failed to checkout ' . $url . ' via git, it isn\'t accessible through the console, please check your installation and your PATH env.' . "\n\n" . $this->process->getErrorOutput());
+            }
 
             throw new \RuntimeException('Failed to checkout ' . $url .' via git, https and http protocols, aborting.' . "\n\n" . $output);
         }