Skip to content

Commit

Permalink
Merge pull request magento#1462 from magento-engcom/2.1-develop-prs
Browse files Browse the repository at this point in the history
[EngCom] Public Pull Requests - 2.1
 - MAGETWO-72253: Backport of MAGETWO-52102 for Magento 2.1: [Github] Custom theme stat… magento#10753
  • Loading branch information
ishakhsuvarov authored Sep 6, 2017
2 parents 747f3ac + c268ada commit 8390ef4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/internal/Magento/Framework/App/Utility/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,16 @@ private function accumulateThemeStaticFiles($area, $locale, $filePattern, &$resu
throw new \UnexpectedValueException("Could not parse theme static file '$file'");
}
}

if (!$files) {
$result[] = [
$themeArea,
$themePackage->getVendor() . '/' . $themePackage->getName(),
null,
null,
null,
];
}
}
}
}
Expand Down

0 comments on commit 8390ef4

Please sign in to comment.