fix: todo in parallel

This commit is contained in:
Nuno Maduro
2023-03-03 01:09:35 +00:00
parent 99436f94f9
commit 2876ac590d
4 changed files with 22 additions and 13 deletions

View File

@ -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]);
}