Skip to content

Commit

Permalink
Fix typo on error message
Browse files Browse the repository at this point in the history
  • Loading branch information
marvil07-adapt committed Feb 26, 2021
1 parent 14e743e commit 4cd89fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function twigRender(OutputInterface $output, $template_name, $variable
}
}
if (empty($directory)) {
throw \Exception('Cannot find t valid "templates" directory with the needed template.');
throw \Exception('Cannot find a valid "templates" directory with the needed template.');
}
$loader = new FilesystemLoader($directory);
$twig = new Environment($loader, [
Expand Down

0 comments on commit 4cd89fb

Please sign in to comment.