Skip to content

Commit

Permalink
MAGETWO-52102: [Github] Custom theme static content won't deploy with…
Browse files Browse the repository at this point in the history
…out overriding at least one static content file #3754
  • Loading branch information
shiftedreality committed Jun 8, 2016
1 parent 7edfd0c commit 6a9744d
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 6a9744d

Please sign in to comment.