From 07b6ff6c04e129df9baf7faa258a1662c9810c23 Mon Sep 17 00:00:00 2001 From: Francisco Madeira Date: Thu, 30 Nov 2023 07:49:24 +0000 Subject: [PATCH] Update bin/pest Co-authored-by: Owen Voke --- bin/pest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pest b/bin/pest index 630d50ad..d6bcc1b4 100755 --- a/bin/pest +++ b/bin/pest @@ -38,7 +38,7 @@ use Symfony\Component\Console\Output\ConsoleOutput; unset($args[$key]); } - if (str_contains($value, '--todo')) { + if (in_array($value, ['--todo', '--todos'], true)) { $todo = true; unset($args[$key]); }