Skip to content

Commit 7b0db63

Browse files
eXorusNaktibalda
authored andcommitted
Remove "Running with seed" from CLI report (Codeception#6088)
1 parent 0776969 commit 7b0db63

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Codeception/Command/Run.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,12 @@ public function execute(InputInterface $input, OutputInterface $output)
271271
$this->output->writeln(
272272
Codecept::versionString() . "\nPowered by " . \PHPUnit\Runner\Version::getVersionString()
273273
);
274-
$this->output->writeln(
275-
"Running with seed: " . $this->options['seed'] . "\n"
276-
);
274+
275+
if ($this->options['seed']) {
276+
$this->output->writeln(
277+
"Running with seed: <info>" . $this->options['seed'] . "</info>\n"
278+
);
279+
}
277280
}
278281
if ($this->options['debug']) {
279282
$this->output->setVerbosity(OutputInterface::VERBOSITY_VERY_VERBOSE);

0 commit comments

Comments
 (0)