Skip to content

Commit

Permalink
Merge pull request imanghafoori1#277 from alikhosravidev/fix/imports
Browse files Browse the repository at this point in the history
The folder path has been normalized
  • Loading branch information
imanghafoori1 authored Dec 18, 2023
2 parents 9d807ff + e707097 commit 553c892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Features/CheckImports/CheckImportsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public function handle()

$fileName = ltrim($this->option('file'), '=');
$folder = ltrim($this->option('folder'), '=');
$folder = rtrim($folder, '/\\');

$routeFiles = FilePath::removeExtraPaths(RoutePaths::get(), $fileName, $folder);
$classMapFiles = FilePath::removeExtraPaths(ComposerJson::getClassMaps(base_path()), $fileName, $folder);
Expand Down

0 comments on commit 553c892

Please sign in to comment.