1
0
Fork 0

Fix formatting

pull/3302/head
Jordi Boggiano 2014-09-24 19:17:54 +01:00
parent e61e62908e
commit 4e774e8b2c
1 changed files with 2 additions and 6 deletions

View File

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