Skip to content

Commit

Permalink
don't check if the path is valid
Browse files Browse the repository at this point in the history
makes installing hard without the fontawesome-free installed, and vendor:publish impossible
  • Loading branch information
johanrosenson committed Feb 9, 2023
1 parent f11e934 commit 14a0703
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/FontAwesomeBladeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 14a0703

Please sign in to comment.