Skip to content

Commit

Permalink
fix: use DIRECTORY_SEPARATOR
Browse files Browse the repository at this point in the history
  • Loading branch information
canvural committed Dec 27, 2022
1 parent b09aee1 commit 7751e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/ViewFileHelper.php
Expand Up @@ -61,7 +61,7 @@ public function getAllViewNames(): Generator
);

foreach ($views as $view) {
if (str_contains($view->getPathname(), 'views/vendor')) {
if (str_contains($view->getPathname(), 'views'.DIRECTORY_SEPARATOR.'vendor')) {
continue;
}

Expand Down

0 comments on commit 7751e4b

Please sign in to comment.