[command] Fixed console output
This commit is contained in:
parent
c72bb054d6
commit
af2151631d
9 changed files with 76 additions and 34 deletions
|
|
@ -76,12 +76,14 @@ EOT
|
|||
$filesystem->copy((string) $data, $dest);
|
||||
$filesystem->remove($data);
|
||||
|
||||
$output->writeln(sprintf('Wrote dumped data in <info>%s</info>.', $dest));
|
||||
$output->writeln(sprintf('<info>Wrote dumped data in <comment>%s</comment></info>.', $dest));
|
||||
}
|
||||
|
||||
if (iterator_count($datas) <= 0) {
|
||||
$output->writeln('No dumped files.');
|
||||
}
|
||||
} else {
|
||||
$this->writeTaskError('datadump', false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue