Skip to content

Commit

Permalink
Fix concat space
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Sep 7, 2017
1 parent 5892ec8 commit 584a164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repository/Vcs/GitDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function initialize()

$skipSync = false;
if (null !== ($skip = $arm->getConfig()->get('git-skip-update'))) {
$localUrl = $this->config->get('cache-vcs-dir') . '/' . preg_replace('{[^a-z0-9.]}i', '-', $this->url) . '/';
$localUrl = $this->config->get('cache-vcs-dir').'/'.preg_replace('{[^a-z0-9.]}i', '-', $this->url).'/';
// check if local copy exists and if it is a git repository and that modification time is within threshold
if (is_dir($localUrl) && is_file($localUrl.'/config') && filemtime($localUrl) > strtotime('-'.$skip)) {
$skipSync = true;
Expand Down

0 comments on commit 584a164

Please sign in to comment.