Skip to content

Commit

Permalink
fix: output of dump on laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 8, 2023
1 parent 4c45536 commit cd3b497
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/K6.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private static function extractZip(string $fileName): void
*/
private static function arch(): string
{
if(self::os() === 'windows') {
if (self::os() === 'windows') {
return 'amd64';
}

Expand Down
7 changes: 7 additions & 0 deletions src/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
use Pest\Exceptions\ShouldNotHappen;
use Pest\Stressless\Printers\Detail;
use Pest\Stressless\Printers\Progress;
use Pest\Support\Container;
use RuntimeException;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Process\Process;

use function Termwind\render;
use function Termwind\renderUsing;

/**
* @internal
Expand Down Expand Up @@ -40,6 +43,10 @@ public function __construct(
*/
public function start(): Result
{
renderUsing(
Container::getInstance()->get(OutputInterface::class)
);

$concurrency = $this->options['stages'][0]['target'];
$duration = (int) $this->options['stages'][0]['duration'];

Expand Down

0 comments on commit cd3b497

Please sign in to comment.