Skip to content

Commit 48ab538

Browse files
authoredOct 14, 2024··
fix(laravel): make command writes to app instead of src (#6723)
1 parent 0935664 commit 48ab538

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/Laravel/Console/Maker/AbstractMakeStateCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function handle(): int
4040
{
4141
$stateName = $this->askForStateName();
4242

43-
$directoryPath = base_path('src/State/');
43+
$directoryPath = base_path('app/State/');
4444
$this->filesystem->ensureDirectoryExists($directoryPath);
4545

4646
$filePath = $this->stateTemplateGenerator->getFilePath($directoryPath, $stateName);

‎src/Laravel/Tests/Console/Maker/Utils/PathResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function generateStateFilename(string $stateFilename): string
2727

2828
public function getStateDirectoryPath(): string
2929
{
30-
return base_path('src/State/');
30+
return base_path('app/State/');
3131
}
3232
}

0 commit comments

Comments
 (0)
Please sign in to comment.