Merge pull request #150 from innocenzi/fix/command-interactions

Avoid command interactions when the `--no-interaction` flag is given
This commit is contained in:
Nuno Maduro
2020-08-03 21:26:11 +01:00
committed by GitHub

View File

@ -60,8 +60,10 @@ final class PestInstallCommand extends Command
$this->output->success('`tests/Pest.php` created successfully.');
$this->output->success('`tests/Helpers.php` created successfully.');
if (!(bool) $this->option('no-interaction')) {
(new \Pest\Console\Thanks($this->output))();
}
}
/**
* Determine if this is a Lumen application.