Skip to content

Commit

Permalink
fix(laravel): make command writes to app instead of src (#6723)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceAmstoutz authored Oct 14, 2024
1 parent 0935664 commit 48ab538
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Laravel/Console/Maker/AbstractMakeStateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function handle(): int
{
$stateName = $this->askForStateName();

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

$filePath = $this->stateTemplateGenerator->getFilePath($directoryPath, $stateName);
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/Tests/Console/Maker/Utils/PathResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public function generateStateFilename(string $stateFilename): string

public function getStateDirectoryPath(): string
{
return base_path('src/State/');
return base_path('app/State/');
}
}

0 comments on commit 48ab538

Please sign in to comment.