Skip to content

Commit ae33ecb

Browse files
added output
1 parent 5696ca2 commit ae33ecb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Command/ScheduleSystemTasksCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
101101
foreach ($this->taskRepository->findSystemTasks() as $task) {
102102
if (!in_array($task->getSystemKey(), array_keys($this->systemTasks))) {
103103
$this->disableTask($task);
104+
105+
$output->writeln(sprintf(' * System-task "%s" was <comment>disabled</comment>.', $systemKey));
104106
}
105107
}
106108

@@ -120,7 +122,7 @@ private function processSystemTask($systemKey, array $systemTask, OutputInterfac
120122
if (!$systemTask['enabled']) {
121123
$this->disableSystemTask($systemKey);
122124

123-
$output->writeln(sprintf(' * System-task "%s" was <info>disabled</info>.', $systemKey));
125+
$output->writeln(sprintf(' * System-task "%s" was <comment>disabled</comment>.', $systemKey));
124126

125127
return;
126128
}

0 commit comments

Comments
 (0)