Skip to content

Commit

Permalink
potential fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas committed Jul 28, 2023
1 parent 1abf37c commit aad97db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function generateLogFile(string $fileName = null, string $content = null, bool $
$fileName = \Illuminate\Support\Str::random().'.log';
}

$path = storage_path('logs/'.$fileName);
$path = storage_path('logs'.DIRECTORY_SEPARATOR.$fileName);
$folder = dirname($path);

if (! File::isDirectory($folder)) {
Expand Down

0 comments on commit aad97db

Please sign in to comment.