1
0
Fork 0

Merge pull request #3962 from joshdifabio/travis-cache-fix

Fix Travis cache issue (~/.composer/cache changes on every build)
pull/3130/merge
Jordi Boggiano 2015-04-30 17:08:26 +01:00
commit 8daebe8926
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class Cache
{
$file = preg_replace('{[^'.$this->whitelist.']}i', '-', $file);
if ($this->enabled && file_exists($this->root . $file)) {
touch($this->root . $file);
touch($this->root . $file, filemtime($this->root . $file), time());
if ($this->io->isDebug()) {
$this->io->writeError('Reading '.$this->root . $file.' from cache');