diff --git a/src/Shell/Task/TemplateTask.php b/src/Shell/Task/TemplateTask.php index ab956eeaa..c494ce0fd 100644 --- a/src/Shell/Task/TemplateTask.php +++ b/src/Shell/Task/TemplateTask.php @@ -368,6 +368,7 @@ public function bake($action, $content = '') $content = $this->getContent($action); } if (empty($content)) { + $this->err("No generated content for '{$action}.ctp', not generating template."); return false; } $this->out("\n" . sprintf('Baking `%s` view file...', $action), 1, Shell::QUIET);