Skip to content

Commit

Permalink
Simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed Jan 29, 2019
1 parent ab091a5 commit f7119c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Process/Builder/SubscriberBuilder.php
Expand Up @@ -233,8 +233,8 @@ private function getInitialTestsConsoleLoggerSubscriber(AbstractTestFrameworkAda

private function shouldSkipProgressBars(): bool
{
$isCi = getenv('CI') === 'true' || getenv('CONTINUOUS_INTEGRATION') === 'true';

return $isCi || $this->input->getOption('no-progress');
return $this->input->getOption('no-progress')
|| getenv('CI') === 'true'
|| getenv('CONTINUOUS_INTEGRATION') === 'true';
}
}

0 comments on commit f7119c6

Please sign in to comment.