diff --git a/app/Console/Commands/Bundle/Render.php b/app/Console/Commands/Bundle/Render.php
index e12d862..ae5c957 100644
--- a/app/Console/Commands/Bundle/Render.php
+++ b/app/Console/Commands/Bundle/Render.php
@@ -81,9 +81,9 @@ private function selectDisk(): self
$this->sourceDisk = Storage::disk($sourceDisk);
$this->targetDisk = Storage::disk($targetDisk);
- $this->comment(
+ $this->line(
sprintf(
- 'Using `%s` as source disk and `%s` as target disk for generated content',
+ 'Using %s as source disk and %s as target disk for generated content',
$sourceDisk,
$targetDisk
)
@@ -142,13 +142,13 @@ private function clearCache(): self
private function getBundles()
{
$path = $this->argument('path') ?? '/';
- $comment = sprintf('Rendering %s', $path);
+ $comment = sprintf('Rendering %s', $path);
if ($this->option('recursive')) {
- $comment .= ' and all sub-bundles';
+ $comment .= ' and all sub-bundles';
}
- $this->comment($comment);
+ $this->line($comment);
$this->output->write('Collecting bundles... ');
if ($this->option('recursive')) {
@@ -184,13 +184,12 @@ private function render(): self
private function handleBundle(Bundle $bundle, $progress)
{
$progress->label(sprintf('Rendering %s ...', $bundle->getPath()));
+ $progress->hint('Rendering the bundle');
if ($this->option('dry-run')) {
return;
}
- $progress->hint('Rendering the bundle');
-
$result = $bundle->render();
foreach ($result as $path => $content) {