From 495de5dbe8e58e74daf902e21ab7a55a2263c955 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Tue, 17 Dec 2024 10:24:58 -0500 Subject: [PATCH] Remove guard from scripts --- src/Providers/AddonServiceProvider.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Providers/AddonServiceProvider.php b/src/Providers/AddonServiceProvider.php index 211f6e25cf..5667b25698 100644 --- a/src/Providers/AddonServiceProvider.php +++ b/src/Providers/AddonServiceProvider.php @@ -650,10 +650,6 @@ protected function bootViews() public function registerScript(string $path) { - if (! $this->shouldBootRootItems()) { - return; - } - $name = $this->getAddon()->packageName(); $version = $this->getAddon()->version(); $filename = pathinfo($path, PATHINFO_FILENAME);