fix(files): Don't attempt to format a partial cache entry

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/43389/head
Christoph Wurst 4 months ago committed by John Molakvoæ
parent 202428b137
commit 3de151521e

@ -83,7 +83,7 @@ class CacheWrapper extends Cache {
*/
public function get($file) {
$result = $this->getCache()->get($file);
if ($result) {
if ($result instanceof ICacheEntry) {
$result = $this->formatCacheEntry($result);
}
return $result;

Loading…
Cancel
Save