From 13bc9ce7039424edd9e19fd071fa012a1e6b4d54 Mon Sep 17 00:00:00 2001 From: Mark Beech Date: Wed, 13 Nov 2019 19:57:13 +0000 Subject: [PATCH] Check installation was successful --- src/NewCommand.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index b74d0f8f..aeb372fd 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -90,7 +90,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $output->write($line); }); - $output->writeln('Application ready! Build something amazing.'); + if ($process->isSuccessful()) { + $output->writeln('Application ready! Build something amazing.'); + } } /**