Skip to content

Commit

Permalink
Merge pull request #1 from omar95-pero/main
Browse files Browse the repository at this point in the history
Support Windows OS
  • Loading branch information
MoamenEltouny authored Oct 1, 2023
2 parents 617c011 + 8407d4d commit 953ba03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function modules()

$list = [];
foreach (File::directories($dir) as $module) {
$module = str_replace($dir . '/', '', $module);
$module = str_replace($dir . DIRECTORY_SEPARATOR, '', $module);
if (file_exists(module_path($module, 'Providers'))) {
$list[] = $module;
} else {
Expand Down

0 comments on commit 953ba03

Please sign in to comment.