Update bin/pest

Co-authored-by: Owen Voke <development@voke.dev>
This commit is contained in:
Francisco Madeira
2023-11-30 07:49:24 +00:00
committed by GitHub
parent ac5da9e3f7
commit 07b6ff6c04

View File

@ -38,7 +38,7 @@ use Symfony\Component\Console\Output\ConsoleOutput;
unset($args[$key]); unset($args[$key]);
} }
if (str_contains($value, '--todo')) { if (in_array($value, ['--todo', '--todos'], true)) {
$todo = true; $todo = true;
unset($args[$key]); unset($args[$key]);
} }