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