We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979b864 commit 566f7afCopy full SHA for 566f7af
src/Console/Command/CliTest.php
@@ -31,11 +31,17 @@ protected function configure(): void
31
32
protected function execute(InputInterface $input, OutputInterface $output): int
33
{
34
- for ($i = 1; $i <= 10; $i++) {
35
- $output->writeln($i.'/10');
+ for ($i = 5; $i >= 1; $i--) {
+ $output->writeln('Start npm in ' . $i);
36
sleep(1);
37
}
38
39
+ $output->writeln('Running npm outdated...');
40
+ exec('npm outdated', $npmOutput, $returnValue);
41
+ foreach ($npmOutput as $line) {
42
+ $output->writeln($line);
43
+ }
44
+
45
return Command::SUCCESS;
46
47
0 commit comments