Skip to content

Commit 8390ef4

Browse files
Merge pull request #1462 from magento-engcom/2.1-develop-prs
[EngCom] Public Pull Requests - 2.1 - MAGETWO-72253: Backport of MAGETWO-52102 for Magento 2.1: [Github] Custom theme stat… #10753
2 parents 747f3ac + c268ada commit 8390ef4

File tree

1 file changed

+10
-0
lines changed
  • lib/internal/Magento/Framework/App/Utility

1 file changed

+10
-0
lines changed

lib/internal/Magento/Framework/App/Utility/Files.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,16 @@ private function accumulateThemeStaticFiles($area, $locale, $filePattern, &$resu
890890
throw new \UnexpectedValueException("Could not parse theme static file '$file'");
891891
}
892892
}
893+
894+
if (!$files) {
895+
$result[] = [
896+
$themeArea,
897+
$themePackage->getVendor() . '/' . $themePackage->getName(),
898+
null,
899+
null,
900+
null,
901+
];
902+
}
893903
}
894904
}
895905
}

0 commit comments

Comments
 (0)