mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
Code quality improvements
This commit is contained in:
@ -52,8 +52,8 @@ final class PestTestCommand extends Command
|
||||
/* @phpstan-ignore-next-line */
|
||||
$target = base_path($relativePath);
|
||||
|
||||
if (! File::isDirectory(dirname($target))) {
|
||||
File::makeDirectory(dirname($target), 0777, true, true);
|
||||
if (! File::isDirectory(dirname((string) $target))) {
|
||||
File::makeDirectory(dirname((string) $target), 0777, true, true);
|
||||
}
|
||||
|
||||
if (File::exists($target) && ! (bool) $this->option('force')) {
|
||||
|
||||
Reference in New Issue
Block a user