Skip to content

Commit 982412d

Browse files
committed
Replace absolute path with configuration method in ReportCommand
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 51502d6 commit 982412d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/ReportsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private function renderTemplate(string $title, array $links): string
9999
'title' => $title,
100100
'links' => $links,
101101
]);
102-
include $this->getAbsolutePath('resources/index.php');
102+
include $this->getConfigFile('resources/index.php');
103103

104104
return ob_get_clean();
105105
}

0 commit comments

Comments
 (0)