From cdcc614fe4cabc77b8cc8e4b50ea40c489e7b7a8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 11 Dec 2024 22:46:55 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- src/Foundation/Console/Actions/Action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 => '@' };