1
0
Fork 0

Merge pull request #4924 from curry684/issue-4070

Wrap final attempt to touch a cache file in Silencer.
pull/4927/head
Jordi Boggiano 2016-02-16 13:05:04 +00:00
commit d94c758116
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Cache
} catch (\ErrorException $e) {
// fallback in case the above failed due to incorrect ownership
// see https://github.com/composer/composer/issues/4070
touch($this->root . $file);
Silencer::call('touch', $this->root . $file);
}
$this->io->writeError('Reading '.$this->root . $file.' from cache', true, IOInterface::DEBUG);