We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2596e commit 9461b69Copy full SHA for 9461b69
src/ServiceProvider.php
@@ -59,8 +59,10 @@ protected function registerElixirLinks()
59
$revPath = public_path().'/build/rev-manifest.json';
60
if (file_exists($revPath)) {
61
$revMap = json_decode($revPath, true);
62
- foreach (array_values($revMap) as $path) {
63
- $instance->queueResource('/'.ltrim($path, '/'));
+ if ($revMap) {
+ foreach (array_values($revMap) as $path) {
64
+ $instance->queueResource('/'.ltrim($path, '/'));
65
+ }
66
}
67
68
0 commit comments