From 14a07039026a315501ca9b474cc5380f93f7c701 Mon Sep 17 00:00:00 2001 From: Johan Rosenson Date: Thu, 9 Feb 2023 16:07:21 +0700 Subject: [PATCH] don't check if the path is valid makes installing hard without the fontawesome-free installed, and vendor:publish impossible --- src/FontAwesomeBladeServiceProvider.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/FontAwesomeBladeServiceProvider.php b/src/FontAwesomeBladeServiceProvider.php index db12e5a..9790b62 100644 --- a/src/FontAwesomeBladeServiceProvider.php +++ b/src/FontAwesomeBladeServiceProvider.php @@ -64,12 +64,12 @@ public function boot() : void )); } - if (! is_dir($path)) { - throw new RuntimeException(sprintf( - '"%1$s" is not a valid Font Awesome path.', - $path, - )); - } + // if (! is_dir($path)) { + // throw new RuntimeException(sprintf( + // '"%1$s" is not a valid Font Awesome path.', + // $path, + // )); + // } Blade::componentNamespace('Devlop\\FontAwesome\\Components', 'fa');