Merge pull request #4131 from nextcloud/fix-jscombiner
Fix check for cache value in JSCombiner
This commit is contained in:
commit
cbe44043be
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class JSCombiner {
|
|||
$fileName = str_replace('.json', '.js', $fileName) . '.deps';
|
||||
try {
|
||||
$deps = $this->depsCache->get($folder->getName() . '-' . $fileName);
|
||||
if ($deps === null) {
|
||||
if ($deps === null || $deps === '') {
|
||||
$depFile = $folder->getFile($fileName);
|
||||
$deps = $depFile->getContent();
|
||||
$this->depsCache->set($folder->getName() . '-' . $fileName, $deps);
|
||||
|
|
Loading…
Reference in a new issue