|
|
|
@ -48,11 +48,7 @@ class GitDownloader extends VcsDownloader
|
|
|
|
|
$this->io->write(" Cloning ".$ref);
|
|
|
|
|
|
|
|
|
|
$commandCallable = function ($url) use ($ref, $path, $command) {
|
|
|
|
|
return sprintf(
|
|
|
|
|
$command,
|
|
|
|
|
ProcessExecutor::escape($url),
|
|
|
|
|
ProcessExecutor::escape($path),
|
|
|
|
|
ProcessExecutor::escape($ref));
|
|
|
|
|
return sprintf($command, ProcessExecutor::escape($url), ProcessExecutor::escape($path), ProcessExecutor::escape($ref));
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$this->gitUtil->runCommand($commandCallable, $url, $path, true);
|
|
|
|
|