mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Merge pull request #150 from innocenzi/fix/command-interactions
Avoid command interactions when the `--no-interaction` flag is given
This commit is contained in:
@ -60,7 +60,9 @@ final class PestInstallCommand extends Command
|
||||
$this->output->success('`tests/Pest.php` created successfully.');
|
||||
$this->output->success('`tests/Helpers.php` created successfully.');
|
||||
|
||||
(new \Pest\Console\Thanks($this->output))();
|
||||
if (!(bool) $this->option('no-interaction')) {
|
||||
(new \Pest\Console\Thanks($this->output))();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user