Skip to content

Commit

Permalink
Merge pull request #37 from larapack/bugfix/support-window-separator
Browse files Browse the repository at this point in the history
Support Windows directory separator
  • Loading branch information
marktopper authored Feb 2, 2018
2 parents 779ad2a + 8539664 commit 6b3ce66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ protected function makeStubFiles($name)

foreach ($files as $file) {
if ($path = $file->getRelativePath()) {
$parts = explode('/', $path);
$parts = explode('/', str_replace('\\', '/', $path));

$location = base_path("hooks/{$name}");

Expand Down

0 comments on commit 6b3ce66

Please sign in to comment.