fix: correctly avoid interactions

This commit is contained in:
Enzo Innocenzi
2020-08-03 21:39:58 +02:00
parent 330dafa294
commit 64bb853720

View File

@ -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))();
}
}
/**