Skip to content

Commit 2d87a6f

Browse files
authored
Merge pull request #11 from dev-lnk/fix
fix: generation path fix
2 parents 226f08f + 2b22dc4 commit 2d87a6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Services/CodePath/CodePath.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ final class CodePath
2525

2626
public function initPaths(CodeStructure $codeStructure, string $path, bool $isGenerationDir): void
2727
{
28+
$path = str_replace(base_path('/'), '', $path);
29+
2830
$genPath = $isGenerationDir ? base_path($path) : '';
2931

3032
$namespace = implode('/', array_map(

0 commit comments

Comments
 (0)