diff --git a/src/Laravel/Commands/PestTestCommand.php b/src/Laravel/Commands/PestTestCommand.php index c8eebcba..7561355b 100644 --- a/src/Laravel/Commands/PestTestCommand.php +++ b/src/Laravel/Commands/PestTestCommand.php @@ -56,7 +56,7 @@ final class PestTestCommand extends Command File::makeDirectory(dirname($target), 0777, true, true); } - if (File::exists($target) and !$this->option('force')) { + if (File::exists($target) and !(bool) $this->option('force')) { throw new InvalidConsoleArgument(sprintf('%s already exist', $target)); }