diff --git a/src/Foundation/Console/Actions/Action.php b/src/Foundation/Console/Actions/Action.php index 0786a4ea..4b56eb13 100644 --- a/src/Foundation/Console/Actions/Action.php +++ b/src/Foundation/Console/Actions/Action.php @@ -30,7 +30,7 @@ protected function pathLocation(string $path): string $path = str_replace(rtrim($this->workingPath, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR, '', $path); $prefix = match ($this->workingPath) { - app()->basePath() => '@laravel', + base_path() => '@laravel', $packagePath => '.', default => '@' };