Skip to content

Commit 3595c14

Browse files
committed
Update DuskParallelCommand.php
1 parent 458de67 commit 3595c14

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Console/DuskParallelCommand.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ protected function binary()
3434

3535
protected function phpunitArguments($options)
3636
{
37-
$options = array_values(array_filter($options, function ($option) {
38-
return ! str_starts_with($option, '--processes=')
39-
&& ! str_starts_with($option, '--runner=');
40-
}));
41-
4237
$args = parent::phpunitArguments($options);
4338

39+
$args = array_values(array_filter($args, function ($arg) {
40+
return ! str_starts_with($arg, '--no-output')
41+
&& ! str_starts_with($arg, '--processes=')
42+
&& ! str_starts_with($arg, '--runner=');
43+
}));
44+
4445
$args[] = '--processes';
4546
$args[] = $this->option('processes');
4647

0 commit comments

Comments
 (0)