Skip to content

Commit

Permalink
fix(basecmd): realpath fails on phar
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 31, 2018
1 parent 03616f3 commit 1356bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/BaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function logging(string $mode = 'start')
protected function getTemplatePaths(array $parameters): array
{
// Phint provided path.
$templatePaths = [\realpath(__DIR__ . '/../../resources')];
$templatePaths = [__DIR__ . '/../../resources'];
$userPath = $parameters['template'] ?? null;

if (empty($userPath)) {
Expand Down

0 comments on commit 1356bc3

Please sign in to comment.