Skip to content

Commit 2894951

Browse files
authored
Update NewCommand.php (#393)
1 parent 3d3370e commit 2894951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NewCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ protected function installPest(string $directory, InputInterface $input, OutputI
572572
if ($input->getOption('react') || $input->getOption('vue') || $input->getOption('livewire')) {
573573
$commands[] = $composerBinary.' require pestphp/pest-plugin-drift --dev';
574574
$commands[] = $this->phpBinary().' ./vendor/bin/pest --drift';
575+
$commands[] = $composerBinary.' remove pestphp/pest-plugin-drift --dev';
575576
}
576577

577578
$this->runCommands($commands, $input, $output, workingPath: $directory, env: [

0 commit comments

Comments
 (0)