Skip to content

Commit 1df9e45

Browse files
committed
fix: close script on successful app creation
1 parent 7b5c026 commit 1df9e45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CreateCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
222222
$createProcess->run(function ($type, $line) use ($output) {
223223
$output->write($line);
224224
});
225+
226+
return 0;
225227
} else {
226228
$output->writeln("<error>Leaf CLI update failed, please try again later</error>\n");
227229
$output->writeln("<comment> - </comment>Creating app with current version...\n");

0 commit comments

Comments
 (0)