fix: tries getenv

This commit is contained in:
Nuno Maduro
2023-03-17 11:50:41 +00:00
parent ec4f15132e
commit 0b99c72937

View File

@ -46,7 +46,7 @@ final class Thanks
$bootstrapper = new BootView($this->output);
$bootstrapper->boot();
$wantsToSupport = ! isset($_ENV['PEST_NO_SUPPORT']) && $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask(
$wantsToSupport = getenv('PEST_NO_SUPPORT') !== 'true' && $this->input->isInteractive() && (new SymfonyQuestionHelper())->ask(
new ArrayInput([]),
$this->output,
new ConfirmationQuestion(