@@ -166,17 +166,17 @@ |
||
166 | 166 | */ |
167 | 167 | public function actionClone($vendor = null, $repo = null) |
168 | 168 | { |
169 | - // if `vendor/repo` notation is provided |
|
170 | - if ($vendor !== null && strpos($vendor, '/')) { |
|
171 | - list($vendor, $repo) = explode("/", $vendor); |
|
172 | - } |
|
169 | + // if `vendor/repo` notation is provided |
|
170 | + if ($vendor !== null && strpos($vendor, '/')) { |
|
171 | + list($vendor, $repo) = explode("/", $vendor); |
|
172 | + } |
|
173 | 173 | |
174 | 174 | if (empty($vendor)) { |
175 | 175 | $vendor = $this->prompt("Enter the username/vendor for this repo (e.g. luyadev)"); |
176 | 176 | } |
177 | 177 | |
178 | 178 | if (empty($repo)) { |
179 | - $repo = $this->prompt("Enter the name of the repo you like to clone (e.g. luya-module-news)"); |
|
179 | + $repo = $this->prompt("Enter the name of the repo you like to clone (e.g. luya-module-news)"); |
|
180 | 180 | } |
181 | 181 | |
182 | 182 | return $this->cloneRepo($repo, $this->getCloneUrlBasedOnType($repo, $vendor), $this->getFilesystemRepoPath($repo), $vendor); |