| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 67 | private static function assetsAreCurrent() |
||
| 68 | { |
||
| 69 | $publishedPath = public_path('vendor/laravel_backup_panel/mix-manifest.json'); |
||
| 70 | |||
| 71 | if (! File::exists($publishedPath)) { |
||
| 72 | throw new RuntimeException('Laravel Backup Panel assets are not published. Please run: php artisan vendor:publish --tag=laravel-backup-panel-assets --force'); |
||
| 73 | } |
||
| 74 | |||
| 75 | return File::get($publishedPath) === File::get(__DIR__.'/../public/vendor/laravel_backup_panel/mix-manifest.json'); |
||
| 76 | } |
||
| 78 |