mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: todo in parallel
This commit is contained in:
8
bin/pest
8
bin/pest
@ -22,12 +22,12 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
$todo = false;
|
||||
|
||||
foreach ($args as $key => $value) {
|
||||
if (str_contains($value, '--compact')) {
|
||||
if ($value === '--compact') {
|
||||
$_SERVER['COLLISION_PRINTER_COMPACT'] = 'true';
|
||||
unset($args[$key]);
|
||||
}
|
||||
|
||||
if (str_contains($value, '--profile')) {
|
||||
if ($value === '--profile') {
|
||||
$_SERVER['COLLISION_PRINTER_PROFILE'] = 'true';
|
||||
unset($args[$key]);
|
||||
}
|
||||
@ -36,12 +36,12 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
unset($args[$key]);
|
||||
}
|
||||
|
||||
if (str_contains($value, '--dirty')) {
|
||||
if ($value === '--dirty') {
|
||||
$dirty = true;
|
||||
unset($args[$key]);
|
||||
}
|
||||
|
||||
if (str_contains($value, '--todo')) {
|
||||
if ($value === '--todo') {
|
||||
$todo = true;
|
||||
unset($args[$key]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user